-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
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
Hello, I'd like to only see warning/ bugs in user generated code.
Is there a way to properly exclude these?
Thanks,
Actual behavior (suspected bug)
I see lots of warnings in the ESP SDK
Error logs or terminal output
/home/user/esp/v5.4.1/esp-idf/components/log/include/esp_log.h:108:38: note: expanded from macro 'ESP_LOGI'
108 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format __VA_OPT__(,) __VA_ARGS__)
| ^
/home/user/esp/v5.4.1/esp-idf/components/log/include/esp_log.h:204:54: note: expanded from macro 'ESP_LOG_LEVEL_LOCAL'
204 | #define ESP_LOG_LEVEL_LOCAL(level, tag, format, ...) do { \
| ^
/home/repo/feather-firmware/components/modem/modem.cpp:552:9: note: +3, including nesting penalty of 2, nesting level increased to 3
552 | ESP_LOGI(TAG, "Deinitializing esp_netif");
| ^
/home/user/esp/v5.4.1/esp-idf/components/log/include/esp_log.h:108:38: note: expanded from macro 'ESP_LOGI'
108 | #define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format __VA_OPT__(,) __VA_ARGS__)
| ^
/home/user/esp/v5.4.1/esp-idf/components/log/include/esp_log.h:205:9: note: expanded from macro 'ESP_LOG_LEVEL_LOCAL'
205 | if (_ESP_LOG_ENABLED(level)) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
Steps to reproduce the behavior
rm -rf build
IDF_TOOLCHAIN=clang idf.py clang-check --exclude-paths managed_components --exclude-paths /home/user/esp/
Project release version
v5.4.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Linux Mint
Shell
Bash
Additional context
No response