aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-01 10:46:06 +0900
committerGitHub <noreply@github.com>2018-02-01 10:46:06 +0900
commitcaaf2ed08deb159d5546024b76fc48ab9d24f6b5 (patch)
treeaff37b4c93bbedcaf05c6d56ebe939b9f6b9a672
parentf353c7841d9aec6ccc65ae2841f20b420872833f (diff)
parentff1565e72627715c371aebb70d3d49aa2d153134 (diff)
downloadlibquotient-caaf2ed08deb159d5546024b76fc48ab9d24f6b5.tar.gz
libquotient-caaf2ed08deb159d5546024b76fc48ab9d24f6b5.zip
Merge pull request #164 from Quiark/master
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