Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: c++ compiler flag exclusion, -Werror=implicit-int
Fixes: zephyrproject-rtos#28097 The compiler warning flag `-Werror=implicit-int` was added using `set_compiler_property()` which will always add the compiler flag if the compiler flag supports it. This has been changed to `check_set_compiler_property()` which will check if the flag is among the list of `CXX_EXCLUDED_OPTIONS`, and only adds the flag if both the compiler supports it, and it is not an excluded option. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
- Loading branch information