zephyr/cmake/compiler
Anas Nashif e6e29c0ccf toolchain: clang: add -Wno-typedef-redefinition option
Without the -Wno-typedef-redefinition option, clang complains if a
typedef gets redefined in gnu99  mode (since this is officially a C11
feature).

While new versions of GCC do not seem to issue this warning in gnu99
mode anymore. So some existing code with typedef redefined which works
well with GCC will issue this warning.

Similar to what was done in 2354f055ec.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-11-02 14:30:37 -05:00
..
arcmwdt toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition 2020-10-19 14:06:07 -05:00
clang toolchain: clang: add -Wno-typedef-redefinition option 2020-11-02 14:30:37 -05:00
gcc cmake: extend target_ld_options() to support grouping of flags 2020-10-27 13:09:02 +01:00
host-gcc toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
xcc toolchain: Xtensa C compiler using new abstraction pattern 2020-09-04 20:36:59 +02:00
compiler_flags_template.cmake cmake: toolchain: Toolchain abstraction templates 2020-09-04 20:36:59 +02:00