aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Plášil <me@rplasil.name>2018-01-31 22:24:07 +0800
committerRoman Plášil <me@rplasil.name>2018-02-01 09:38:15 +0800
commitff1565e72627715c371aebb70d3d49aa2d153134 (patch)
treeaff37b4c93bbedcaf05c6d56ebe939b9f6b9a672
parentf353c7841d9aec6ccc65ae2841f20b420872833f (diff)
downloadlibquotient-ff1565e72627715c371aebb70d3d49aa2d153134.tar.gz
libquotient-ff1565e72627715c371aebb70d3d49aa2d153134.zip
Make qmake warning spec compatible with msvc
-rw-r--r--libqmatrixclient.pri7
1 files changed, 6 insertions, 1 deletions
diff --git a/libqmatrixclient.pri b/libqmatrixclient.pri
index 9e4cb279..72637caf 100644
--- a/libqmatrixclient.pri
+++ b/libqmatrixclient.pri
@@ -1,6 +1,11 @@
QT += network
CONFIG += c++14 warn_on rtti_off
-QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
+
+win32-msvc* {
+ QMAKE_CXXFLAGS_WARN_ON += -wd4100
+} else {
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
+}
INCLUDEPATH += $$PWD