Enable deprecation warnings on MSVC

So we get these warnings when compiling on Windows.
They are already enabled on Unix.
This commit is contained in:
Mat Sutcliffe
2019-12-30 23:14:20 +00:00
parent af9c1852cc
commit 010aaf58b5

View File

@@ -2,6 +2,7 @@ msvc:DEFINES *= _SCL_SECURE_NO_WARNINGS
# swift standard warnings
msvc:QMAKE_CXXFLAGS_WARN_ON *= /wd4351 /wd4661
msvc:QMAKE_CXXFLAGS_WARN_ON -= -w44996
clang_cl:QMAKE_CXXFLAGS_WARN_ON *= /W4 -Wno-unknown-pragmas -Wno-undefined-inline -Wno-self-assign-overloaded
gcc:QMAKE_CXXFLAGS_WARN_ON *= -Woverloaded-virtual
gcc:QMAKE_CXXFLAGS_USE_PRECOMPILE = -Winvalid-pch $$QMAKE_CXXFLAGS_USE_PRECOMPILE