Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Issue 11415157: Enable the -Wstrict-prototypes warning for untrusted code in the Gyp build (Closed)

Created:
8 years ago by Mark Seaborn
Modified:
6 years, 6 months ago
Reviewers:
bradn
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Enable 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++ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/build_nexe.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Mark Seaborn
This depends on a Chromium-side change: https://codereview.chromium.org/312323005/
6 years, 6 months ago (2014-06-05 21:26:18 UTC) #1
bradn
lgtm
6 years, 6 months ago (2014-06-05 21:31:01 UTC) #2
Mark Seaborn
6 years, 6 months ago (2014-06-10 23:50:51 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r13314 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698