Skip to content

Commit

Permalink
Revert previous patch, it's actually on under Wall.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181837 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
echristo committed May 14, 2013
1 parent f8f7086 commit e83a6f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,7 @@ CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
$(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \
$(NO_MISSING_FIELD_INITIALIZERS)
# Enable cast-qual for C++; the workaround is to use const_cast.
# Also enable -Wreorder.
CXX.Flags += -Wcast-qual -Wreorder
CXX.Flags += -Wcast-qual

ifeq ($(HOST_OS),HP-UX)
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
Expand Down

0 comments on commit e83a6f3

Please sign in to comment.