zephyr/cmake/compiler
Watson Zeng 2354f055ec toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition
Without the -Wno-typedef-redefinition option, arcmwdt (clang based)
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. As this warning is not fatal, so simply shut it off for good.

Signed-off-by: Watson Zeng <zhiwei@synopsys.com>
2020-10-19 14:06:07 -05:00
..
arcmwdt toolchain: arcmwdt: add compile options: -Wno-typedef-redefinition 2020-10-19 14:06:07 -05:00
clang toolchain: improved toolchain abstraction for compilers and linker 2020-09-04 20:36:59 +02:00
gcc cmake: c++ compiler flag exclusion, -Werror=implicit-int 2020-09-07 17:22:37 +02: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