diff options
-rw-r--r-- | libqmatrixclient.pri | 7 |
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 |