mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Enable -Wshadow compiler option.
This commit is contained in:
parent
9adaee915b
commit
590f666ec9
|
@ -38,8 +38,9 @@ CXXFLAGS += -O0 -g
|
|||
else
|
||||
CXXFLAGS += -O2
|
||||
endif
|
||||
CXXFLAGS += -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wwrite-strings -Werror
|
||||
##CXXFLAGS += -Wshadow
|
||||
CXXFLAGS_WERROR = -Werror
|
||||
CXXFLAGS += -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings
|
||||
CXXFLAGS += $(CXXFLAGS_WERROR)
|
||||
endif
|
||||
CPPFLAGS += $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
|
||||
CXXLD ?= $(CXX)
|
||||
|
|
Loading…
Reference in New Issue
Block a user