-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
Should be able to compile it
Actual behavior (suspected bug)
Showing error related to eso_log_color.h
Error logs or terminal output
components/log/include/esp_log_color.h:100:31: error: ' ' flag used with '%s' gnu_printf format [-Werror=format=]
100 | #define LOG_COLOR_I ""Steps to reproduce the behavior
Just Compile code
Project release version
latest
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
window 11
Shell
ZSH
Additional context
if i replace following
project(network_adapter)
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND)
with
project(network_adapter)
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND)
idf_build_set_property(COMPILE_OPTIONS "-Wno-format" APPEND)
it works
Metadata
Metadata
Assignees
Labels
No labels