Add recommended compiler switches
From https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Available.md#MSVC The '/w14619' switch creates errors in qglobal.h and qvector.h.
This commit is contained in:
@@ -5,3 +5,6 @@ QMAKE_CXXFLAGS += /WX
|
||||
|
||||
# Enables Link Time Optimization
|
||||
QMAKE_CXXFLAGS += /GL
|
||||
|
||||
# Force standards-conformance
|
||||
QMAKE_CXXFLAGS += /permissive-
|
||||
|
||||
Reference in New Issue
Block a user