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

Unified Diff: Makefile.standalone

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change the previous underscore naming style Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IceAPInt.h » ('j') | src/IceInst.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index ad8889cc91c14cb231a7764462811554c207d28c..6cd9ace2e3b46179672657109215e992939c2cca 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -162,7 +162,7 @@ SB_TRANSLATE := $(PNACL_BIN_PATH)/pnacl-translate
BASE_CXXFLAGS := -std=gnu++11 -Wall -Wextra -Werror -fno-rtti \
-fno-exceptions $(OPTLEVEL) $(ASSERTIONS) -g -pedantic \
- $(CXX_EXTRA)
+ -Wshadow $(CXX_EXTRA)
Karl 2015/07/07 17:00:40 Does '-Wshadow' need to be added to Makefile for t
Jim Stichnoth 2015/07/13 19:33:36 I meant this only for the standalone build. I don
CXXFLAGS := $(LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(CXX_DEFINES) $(HOST_FLAGS) \
$(STDLIB_FLAGS)
« no previous file with comments | « no previous file | src/IceAPInt.h » ('j') | src/IceInst.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698