DescriptionEnable the -Wstrict-prototypes warning for untrusted code in the Gyp build
I'm adding this in build_nexe.py rather than to
'nacl_default_compile_flags' (in build/untrusted.gypi or
build/standalone_flags.gypi), because if I enable the flag for C++ as
well as C, Clang complains with:
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3114
TEST=build
R=bradnelson@google.com
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=13314
Patch Set 1 #Patch Set 2 : Avoid warning about C++ #Messages
Total messages: 3 (0 generated)
|