[v2.7] cannot use CONFIG_COMPILER_WARNINGS_AS_ERRORS #66500
Labels
area: Build System
area: Toolchains
Toolchains
area: Twister
Twister
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
It would be nice to have a stable way of configuring whether warnings are promoted to errors in LTSv2.
Please also mention any information which could help others to understand
the problem you're facing:
To Reproduce
Steps to reproduce the behavior:
git checkout origin/v2.7-branch
west build -p auto -t run samples/hello_world -- -DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y
samples/hello_world/src/main.c
Expected behavior
hello_world
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
Build error because Kconfig option is not defined
warning: attempt to assign the value 'y' to the undefined symbol COMPILER_WARNINGS_AS_ERRORS
Expected error when promoting warnings to errors
Environment (please complete the following information):
Additional context
Helpful for those migrating from LTSv2 to (pre) LTSv3
The text was updated successfully, but these errors were encountered: