Skip to content

Commit ab3c645

Browse files
committed
fix qmake warning about unknown /Zc:strictStrings option
Make /Zc:strictStrings known to qmake's MSVC compiler option parser. Change-Id: I5a4494096fc1d67c96c6de52bb0f1e94eff46136 (cherry picked from commit qtbase/55f88e6e310ceb99bef31ed8d884deaa55c78d91) Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
1 parent c0b2c4e commit ab3c645

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qmake/generators/win32/msvc_objectmodel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,8 @@ bool VCCLCompilerTool::parseOption(const char* option)
909909
ForceConformanceInForLoopScope = ((*c) == '-' ? _False : _True);
910910
else if(fourth == 'w')
911911
TreatWChar_tAsBuiltInType = ((*c) == '-' ? _False : _True);
912+
else if (config->CompilerVersion >= NET2013 && strncmp(option + 4, "strictStrings", 13) == 0)
913+
AdditionalOptions += option;
912914
else
913915
found = false;
914916
} else {

0 commit comments

Comments
 (0)