-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolchain: Move extra warning options to toolchain abstraction #53305
Conversation
@evgeniy-paltsev, could you please send your feedback? |
36fdebf
to
add47ff
Compare
add47ff
to
7c4293e
Compare
dc91184
to
5cc8144
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this PR we provide flags only for GCC and ARCMWDT toolchain, but currently the flags values are selected for all toolchains.
So we need pt provide these default flags for all Zephyr supported toolchains (xcc, clang, etc...) to keep existing behavior for them.
5cc8144
to
d3cf0eb
Compare
@tejlmand Can you please take a look? |
@tejlmand Could you please give your feedback to this PR? |
Move extra warning option from generic twister script into compiler-dependent config files.
ARCMWDT compiler doesn't support extra warning options ex. "-Wl,--fatal-warnings". To avoid build fails flag
"disable_warnings_as_errors" should be passed to twister. This allows all warning messages and make atomatic test useles.
Signed-off-by: Nikolay Agishev [email protected]