Add more recommended switches
Commented out switches still give errors.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
QMAKE_CXXFLAGS += -Wextra
|
||||
QMAKE_CXXFLAGS += -Wextra -Wmost
|
||||
|
||||
QMAKE_CXXFLAGS += -Werror
|
||||
#All includes from the third-party directory will not warn.
|
||||
@@ -11,3 +11,5 @@ QMAKE_CXXFLAGS += -Wold-style-cast
|
||||
QMAKE_CXXFLAGS += -Wnon-virtual-dtor
|
||||
|
||||
QMAKE_CXXFLAGS += -Wpedantic
|
||||
|
||||
QMAKE_CXXFLAGS += -Wcast-align -Wunused -Woverloaded-virtual -Wformat=2
|
||||
|
||||
Reference in New Issue
Block a user