mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-15 05:41:56 +00:00
'-Wexpansion-to-defined' Warn whenever 'defined' is encountered in the expansion of a macro (including the case where the macro is expanded by an '#if' directive). Such usage is not portable. This warning is also enabled by '-Wpedantic' and '-Wextra'. This is enabled by default in llvm but not in gcc. Given that it is 'not portable', lets disallow this in gcc and keep both compilers in sync. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
||
---|---|---|
.. | ||
compiler_flags.cmake | ||
generic.cmake | ||
target_arm.cmake | ||
target_riscv.cmake | ||
target_sparc.cmake | ||
target_x86.cmake | ||
target.cmake |