comparison UnitTestsSources/TestStructureSet.cpp @ 1122:1b47659f6a9f

Fix ico uninitialized macro (expands to 0 and screws up test)
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 05 Nov 2019 18:23:39 +0100
parents 11b7785dd01b
children 45df56448b2a
comparison
equal deleted inserted replaced
1121:0073f95a1df1 1122:1b47659f6a9f
19 **/ 19 **/
20 20
21 // working around a bug where the Visual C++ compiler would get 21 // working around a bug where the Visual C++ compiler would get
22 // stuck trying to compile this cpp file in release mode 22 // stuck trying to compile this cpp file in release mode
23 // (versions: https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B) 23 // (versions: https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B)
24 #if _MSC_VER < 1600 24 #ifdef _MSC_VER
25 # pragma optimize("", off) 25 # if _MSC_VER < 1600
26 # pragma optimize("", off)
26 // warning C4748: /GS can not protect parameters and local variables from 27 // warning C4748: /GS can not protect parameters and local variables from
27 // local buffer overrun because optimizations are disabled in function 28 // local buffer overrun because optimizations are disabled in function
28 # pragma warning(disable: 4748) 29 # pragma warning(disable: 4748)
30 # endif
29 #endif 31 #endif
30 32
31 #include "Framework/Toolbox/DicomStructureSetUtils.h" 33 #include "Framework/Toolbox/DicomStructureSetUtils.h"
32 #include "Framework/Toolbox/DicomStructureSet2.h" 34 #include "Framework/Toolbox/DicomStructureSet2.h"
33 #include "Framework/Toolbox/DisjointDataSet.h" 35 #include "Framework/Toolbox/DisjointDataSet.h"