Disable MSVC warning C4868 globally.

Cannot suppress it locally.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-06 10:25:14 +03:00
parent ba40530668
commit 2565f88038
2 changed files with 2 additions and 4 deletions

View File

@ -861,5 +861,6 @@ MSVC_DEBUG_CXXFLAGS += \
-wd4599 \
-wd4371 \
-wd4718 \
-wd4946
-wd4946 \
-wd4868 # compiler may not enforce left-to-right evaluation order in braced initializer list
}

View File

@ -565,8 +565,6 @@ PageOrientation VCommandLine::OptTiledPageOrientation() const
//---------------------------------------------------------------------------------------------------------------------
void VCommandLine::InitCommandLineOptions()
{
QT_WARNING_PUSH
QT_WARNING_DISABLE_MSVC(4868)
//keep in mind order here - that is how user will see it, so group-up for usability
//=================================================================================================================
parser.addOptions({
@ -731,7 +729,6 @@ QT_WARNING_DISABLE_MSVC(4868)
translate("VCommandLine", "Set tiled page orienatation to landscape (export mode). Default value if not set "
"portrait.")}
});
QT_WARNING_POP
}
//---------------------------------------------------------------------------------------------------------------------