[1456/1605] Building CXX object esp-idf/src/CMakeFiles/__idf_src.dir/esphome/components/espectre/base_detector.cpp.obj
In file included from ../src/esphome/components/espectre/base_detector.cpp:10:
../src/esphome/components/espectre/base_detector.h: In constructor 'esphome::espectre::BaseDetector::BaseDetector(esphome::espectre::BaseDetector&&)':
../src/esphome/components/espectre/base_detector.h:252:28: warning: 'esphome::espectre::BaseDetector::lowpass_state_' will be initialized after [-Wreorder]
252 | lowpass_filter_state_t lowpass_state_;
| ^~~~~~~~~~~~~~
../src/esphome/components/espectre/base_detector.h:251:27: warning: 'esphome::espectre::hampel_filter_state_t esphome::espectre::BaseDetector::hampel_state_' [-Wreorder]
251 | hampel_filter_state_t hampel_state_;
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/base_detector.cpp:61:1: warning: when initialized here [-Wreorder]
61 | BaseDetector::BaseDetector(BaseDetector&& other) noexcept
| ^~~~~~~~~~~~
[1468/1605] Building CXX object esp-idf/src/CMakeFiles/__idf_src.dir/esphome/components/espectre/espectre.cpp.obj
In file included from ../src/esphome/core/gpio.h:6,
from ../src/esphome/core/hal.h:5,
from ../src/esphome/core/component.h:9,
from ../src/esphome/components/espectre/espectre.h:13,
from ../src/esphome/components/espectre/espectre.cpp:11:
../src/esphome/components/espectre/espectre.cpp: In member function 'void esphome::espectre::ESpectreComponent::on_wifi_connected_()':
../src/esphome/components/espectre/espectre.cpp:196:19: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
196 | ESP_LOGD(TAG, "Starting traffic generator (rate: %u pps)...", this->traffic_generator_rate_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:163:28: note: in expansion of macro 'esph_log_d'
163 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:196:5: note: in expansion of macro 'ESP_LOGD'
196 | ESP_LOGD(TAG, "Starting traffic generator (rate: %u pps)...", this->traffic_generator_rate_);
| ^~~~~~~~
../src/esphome/components/espectre/espectre.cpp:196:55: note: format string is defined here
196 | ESP_LOGD(TAG, "Starting traffic generator (rate: %u pps)...", this->traffic_generator_rate_);
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/espectre.cpp: In member function 'virtual void esphome::espectre::ESpectreComponent::dump_config()':
../src/esphome/components/espectre/espectre.cpp:495:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
495 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:495:3: note: in expansion of macro 'ESP_LOGCONFIG'
495 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:501:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
501 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:501:3: note: in expansion of macro 'ESP_LOGCONFIG'
501 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:503:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
503 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:503:3: note: in expansion of macro 'ESP_LOGCONFIG'
503 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:511:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
511 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:511:3: note: in expansion of macro 'ESP_LOGCONFIG'
511 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:521:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
521 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:521:3: note: in expansion of macro 'ESP_LOGCONFIG'
521 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:526:24: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
526 | ESP_LOGCONFIG(TAG, " ├─ Rate ............... %u pps", this->traffic_generator_rate_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:526:5: note: in expansion of macro 'ESP_LOGCONFIG'
526 | ESP_LOGCONFIG(TAG, " ├─ Rate ............... %u pps", this->traffic_generator_rate_);
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:526:51: note: format string is defined here
526 | ESP_LOGCONFIG(TAG, " ├─ Rate ............... %u pps", this->traffic_generator_rate_);
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/espectre.cpp:532:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
532 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:532:3: note: in expansion of macro 'ESP_LOGCONFIG'
532 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:534:22: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
534 | ESP_LOGCONFIG(TAG, " └─ Packets ............ %u", this->publish_interval_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:534:3: note: in expansion of macro 'ESP_LOGCONFIG'
534 | ESP_LOGCONFIG(TAG, " └─ Packets ............ %u", this->publish_interval_);
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:534:49: note: format string is defined here
534 | ESP_LOGCONFIG(TAG, " └─ Packets ............ %u", this->publish_interval_);
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/espectre.cpp:535:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
535 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:535:3: note: in expansion of macro 'ESP_LOGCONFIG'
535 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:537:22: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
537 | ESP_LOGCONFIG(TAG, " ├─ Interval ........... %u pkts", this->evaluation_interval_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:537:3: note: in expansion of macro 'ESP_LOGCONFIG'
537 | ESP_LOGCONFIG(TAG, " ├─ Interval ........... %u pkts", this->evaluation_interval_);
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:537:49: note: format string is defined here
537 | ESP_LOGCONFIG(TAG, " ├─ Interval ........... %u pkts", this->evaluation_interval_);
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/espectre.cpp:539:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
539 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:539:3: note: in expansion of macro 'ESP_LOGCONFIG'
539 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:545:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
545 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:545:3: note: in expansion of macro 'ESP_LOGCONFIG'
545 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:552:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
552 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:552:3: note: in expansion of macro 'ESP_LOGCONFIG'
552 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:561:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
561 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:561:3: note: in expansion of macro 'ESP_LOGCONFIG'
561 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:567:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
567 | ESP_LOGCONFIG(TAG, "");
| ^~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:164:33: note: in expansion of macro 'esph_log_config'
164 | #define ESP_LOGCONFIG(tag, ...) esph_log_config(tag, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
../src/esphome/components/espectre/espectre.cpp:567:3: note: in expansion of macro 'ESP_LOGCONFIG'
567 | ESP_LOGCONFIG(TAG, "");
| ^~~~~~~~~~~~~
[1470/1605] Building CXX object esp-idf/src/CMakeFiles/__idf_src.dir/esphome/components/espectre/traffic_generator_manager.cpp.obj
In file included from ../src/esphome/components/espectre/traffic_generator_manager.cpp:14:
../src/esphome/components/espectre/traffic_generator_manager.cpp: In member function 'void esphome::espectre::TrafficGeneratorManager::init(uint32_t, esphome::espectre::TrafficGeneratorMode)':
../src/esphome/components/espectre/traffic_generator_manager.cpp:86:17: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
86 | ESP_LOGD(TAG, "Traffic Generator Manager initialized (rate: %u pps, mode: %s)", rate_pps, mode_str);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:163:28: note: in expansion of macro 'esph_log_d'
163 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:86:3: note: in expansion of macro 'ESP_LOGD'
86 | ESP_LOGD(TAG, "Traffic Generator Manager initialized (rate: %u pps, mode: %s)", rate_pps, mode_str);
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:86:64: note: format string is defined here
86 | ESP_LOGD(TAG, "Traffic Generator Manager initialized (rate: %u pps, mode: %s)", rate_pps, mode_str);
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp: In member function 'bool esphome::espectre::TrafficGeneratorManager::start_dns_()':
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:17: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:3: note: in expansion of macro 'ESP_LOGI'
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:57: note: format string is defined here
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:17: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:3: note: in expansion of macro 'ESP_LOGI'
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:197:75: note: format string is defined here
197 | ESP_LOGI(TAG, "Traffic generator started (mode: dns, %u pps, interval: %u ms)",
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp: In static member function 'static void esphome::espectre::TrafficGeneratorManager::dns_traffic_task_(void*)':
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:17: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=]
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:3: note: in expansion of macro 'ESP_LOGI'
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:71: note: format string is defined here
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:17: warning: format '%u' expects argument of type 'unsigned int', but argument 10 has type 'long unsigned int' [-Wformat=]
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:3: note: in expansion of macro 'ESP_LOGI'
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:250:89: note: format string is defined here
250 | ESP_LOGI(TAG, "Traffic task started (gateway: " IPSTR ", interval: %u µs, remainder: %u)",
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp: In member function 'bool esphome::espectre::TrafficGeneratorManager::start_ping_()':
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:17: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:3: note: in expansion of macro 'ESP_LOGI'
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:58: note: format string is defined here
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ~^
| |
| unsigned int
| %lu
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:17: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/esphome/core/log.h:83:36: note: in definition of macro 'ESPHOME_LOG_FORMAT'
83 | #define ESPHOME_LOG_FORMAT(format) format
| ^~~~~~
../src/esphome/core/log.h:162:28: note: in expansion of macro 'esph_log_i'
162 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:3: note: in expansion of macro 'ESP_LOGI'
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ^~~~~~~~
../src/esphome/components/espectre/traffic_generator_manager.cpp:392:76: note: format string is defined here
392 | ESP_LOGI(TAG, "Traffic generator started (mode: ping, %u pps, interval: %u ms)",
| ~^
| |
| unsigned int
| %lu
If your bug involves a crash (kernel panic, guru meditation, stack overflow, segmentation fault, etc.), please attach the following files to help with debugging:
Add any other context about the problem here (screenshots, related issues, etc.).
Description
compilation warnings
Steps to Reproduce
Expected Behavior
compilation without warnings
Actual Behavior
compilation with warnings
Environment
Configuration
Relevant YAML or Python configuration (remove sensitive data):
Logs
Relevant log output:
Crash Debug Files (if applicable)
If your bug involves a crash (kernel panic, guru meditation, stack overflow, segmentation fault, etc.), please attach the following files to help with debugging:
.elffile: The compiled firmware binary with debug symbols.mapfile: The memory map file showing symbol addressesThese files are located in your build directory:
.esphome/build/<device-name>/.pioenvs/<device-name>/firmware.elfandfirmware.mapAdditional Context
Add any other context about the problem here (screenshots, related issues, etc.).