Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-11-06 01:51:42 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
f43b3afcec3b8089fee6dfa4f901b66e24f40f8c
esp-idf/tools/test_apps/system/build_test/sdkconfig.ci.werror

2 lines
41 B
Plaintext
Raw Normal View History

feat(build): Add config to disable warn be considered as errors The -Werror=all activates error for all warnings in -Wall, however, it does not activate error for other default warnings, such as: - int-conversion (pointer from integer w/o a cast) - incompatible-pointer-types - discarded-qualifiers Which are IMO even more important that -Wall. This commit fixes that by activating error for all warnings (i.e. from -Wall and default ones) and removing those from -Wextra, as the culprit commit seemed to address. Fixes: 60f29236f6 "Build system: Raise warning level" (2016-11-16) In order to avoid long analysis during esp-idf upgrade, provide a way to restore the previous -Werror=all behavior that consider only warnings from -Wall (and not default ones). Also add a hint to use the Kconfig option on compilation error, but warn that fixing the code is the preferred way. Merges https://github.com/espressif/esp-idf/pull/11239 Suggested-By: Ivan Grokhotkov <ivan@espressif.com>
2023-04-20 16:34:56 +02:00
CONFIG_COMPILER_DISABLE_DEFAULT_ERRORS=n
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 38ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API