Skip to content
Commit 2354f055 authored by Watson Zeng's avatar Watson Zeng Committed by Maureen Helm
Browse files

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: default avatarWatson Zeng <zhiwei@synopsys.com>
parent 5e93790d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment