zephyr/cmake/compiler/gcc
Anas Nashif c7bc6380bd compiler: do not allow expansion-to-defined
'-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>
2021-02-17 04:05:42 -05:00
..
compiler_flags.cmake compiler: do not allow expansion-to-defined 2021-02-17 04:05:42 -05:00
generic.cmake
target_arm.cmake
target_riscv.cmake riscv: give -mcmodel=medany to GCC when linking 2021-01-15 13:06:33 -05:00
target_sparc.cmake SPARC: add FPU support 2020-12-04 14:33:43 +02:00
target_x86.cmake x86: enable soft float support for Zephyr SDK 2021-01-20 16:45:31 -05:00
target.cmake cmake: Added SPARC support 2020-11-13 14:53:55 -08:00