Mercurial > hg > orthanc-stone
comparison UnitTestsSources/TestStructureSet.cpp @ 1123:45df56448b2a
Changed my mind to cover all msvc (after all it's a test)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 05 Nov 2019 18:26:59 +0100 |
parents | 1b47659f6a9f |
children | d7e06542304c f2951ac074bd |
comparison
equal
deleted
inserted
replaced
1122:1b47659f6a9f | 1123:45df56448b2a |
---|---|
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 #ifdef _MSC_VER | 24 #ifdef _MSC_VER |
25 # if _MSC_VER < 1600 | 25 # pragma optimize("", off) |
26 # pragma optimize("", off) | |
27 // warning C4748: /GS can not protect parameters and local variables from | 26 // warning C4748: /GS can not protect parameters and local variables from |
28 // local buffer overrun because optimizations are disabled in function | 27 // local buffer overrun because optimizations are disabled in function |
29 # pragma warning(disable: 4748) | 28 # pragma warning(disable: 4748) |
30 # endif | |
31 #endif | 29 #endif |
32 | 30 |
33 #include "Framework/Toolbox/DicomStructureSetUtils.h" | 31 #include "Framework/Toolbox/DicomStructureSetUtils.h" |
34 #include "Framework/Toolbox/DicomStructureSet2.h" | 32 #include "Framework/Toolbox/DicomStructureSet2.h" |
35 #include "Framework/Toolbox/DisjointDataSet.h" | 33 #include "Framework/Toolbox/DisjointDataSet.h" |