From ff1565e72627715c371aebb70d3d49aa2d153134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Pl=C3=A1=C5=A1il?= Date: Wed, 31 Jan 2018 22:24:07 +0800 Subject: Make qmake warning spec compatible with msvc --- libqmatrixclient.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3