From ba40530668c92557c759884733e0cbbdc035ce61 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 6 Apr 2019 06:40:10 +0300 Subject: [PATCH] Supress MSVC warning C4868: compiler may not enforce left-to-right evaluation order in braced initializer list. --HG-- branch : develop --- src/app/valentina/core/vcmdexport.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index 02464e690..91b247877 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -565,6 +565,8 @@ 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({ @@ -729,6 +731,7 @@ void VCommandLine::InitCommandLineOptions() translate("VCommandLine", "Set tiled page orienatation to landscape (export mode). Default value if not set " "portrait.")} }); +QT_WARNING_POP } //---------------------------------------------------------------------------------------------------------------------