zephyr/cmake/compiler
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
..
arcmwdt toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition 2020-10-19 14:06:07 -05:00
clang clang: do not assert on libgcc not found 2020-11-02 14:30:37 -05:00
gcc compiler: do not allow expansion-to-defined 2021-02-17 04:05:42 -05:00
host-gcc
xcc
compiler_flags_template.cmake