Skip to content
Commit e6e29c0c authored by Anas Nashif's avatar Anas Nashif
Browse files

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 2354f055.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent efebf3fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment