Add -Wshadow and solve warnings
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
QMAKE_CXXFLAGS += -Werror
|
||||
#All includes from the third-party directory will not warn.
|
||||
QMAKE_CXXFLAGS += --system-header-prefix=third-party
|
||||
|
||||
QMAKE_CXXFLAGS += -Wshadow
|
||||
|
||||
Reference in New Issue
Block a user