diff options
Diffstat (limited to 'qmake/generators/win32/msvc_objectmodel.cpp')
-rw-r--r-- | qmake/generators/win32/msvc_objectmodel.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp index 993e1fa4f4..0d1a294b28 100644 --- a/qmake/generators/win32/msvc_objectmodel.cpp +++ b/qmake/generators/win32/msvc_objectmodel.cpp @@ -950,12 +950,8 @@ bool VCCLCompilerTool::parseOption(const char* option) ForceConformanceInForLoopScope = ((*c) == '-' ? _False : _True); else if(fourth == 'w') TreatWChar_tAsBuiltInType = ((*c) == '-' ? _False : _True); - else if (config->CompilerVersion >= NET2013 && strncmp(option + 4, "strictStrings", 13) == 0) - AdditionalOptions += option; - else if (config->CompilerVersion >= NET2015 && strncmp(option + 4, "throwingNew", 11) == 0) - AdditionalOptions += option; else - found = false; + AdditionalOptions += option; } else { found = false; break; } @@ -1155,7 +1151,7 @@ bool VCCLCompilerTool::parseOption(const char* option) case 'u': if (!second) UndefineAllPreprocessorDefinitions = _True; - else if (second == 't' && third == 'f' && fourth == '8') + else if (strcmp(option + 2, "tf-8") == 0) AdditionalOptions += option; else found = false; |