Add more recommended switches

Commented out switches still give errors.
This commit is contained in:
Vasily
2019-02-21 18:48:53 +01:00
committed by username223
parent ac614c36e6
commit fddae4278b
3 changed files with 16 additions and 4 deletions
+3 -1
View File
@@ -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