# HG changeset patch # User Benjamin Golinvaux # Date 1572974819 -3600 # Node ID 45df56448b2ac681ee865593395d8d398b0cc5fb # Parent 1b47659f6a9f7581546d2cf3415954294e260a33 Changed my mind to cover all msvc (after all it's a test) diff -r 1b47659f6a9f -r 45df56448b2a UnitTestsSources/TestStructureSet.cpp --- a/UnitTestsSources/TestStructureSet.cpp Tue Nov 05 18:23:39 2019 +0100 +++ b/UnitTestsSources/TestStructureSet.cpp Tue Nov 05 18:26:59 2019 +0100 @@ -22,12 +22,10 @@ // stuck trying to compile this cpp file in release mode // (versions: https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B) #ifdef _MSC_VER -# if _MSC_VER < 1600 -# pragma optimize("", off) +# pragma optimize("", off) // warning C4748: /GS can not protect parameters and local variables from // local buffer overrun because optimizations are disabled in function -# pragma warning(disable: 4748) -# endif +# pragma warning(disable: 4748) #endif #include "Framework/Toolbox/DicomStructureSetUtils.h"