From 5f17377329f0bb3cfc97f4c8d5c188677b17c8f9 Mon Sep 17 00:00:00 2001 From: Vasily Date: Wed, 23 Jan 2019 22:44:09 +0100 Subject: [PATCH] Add explanation to disabled warning in .pro file MSVC does not yet support non experimental ways of selectively disabling warnings for some files. --- advancedSettings.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/advancedSettings.pro b/advancedSettings.pro index 05c41b6..4c17b2a 100644 --- a/advancedSettings.pro +++ b/advancedSettings.pro @@ -20,7 +20,8 @@ TEMPLATE = app #D9025: overriding '/W4' with '/W3' QMAKE_CFLAGS_WARN_ON -= -W3 QMAKE_CXXFLAGS_WARN_ON -= -W3 - #C4127 was in a third party file with no way to turn off. + #C4127 is a warning in qvarlengtharray.h that can not be turned off + #on the current version of MSVC. QMAKE_CXXFLAGS += /W4 /wd4127 # The codecvt header being used in AudioManagerWindows.cpp is deprecated by the standard, # but no suitable replacement has been standardized yet. It is possible to use the Windows