Supress MSVC warning C4868: compiler may not enforce left-to-right evaluation

order in braced initializer list.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-06 06:40:10 +03:00
parent c64a2f03c0
commit ba40530668

View File

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