comparison UnitTestsSources/TestStructureSet.cpp @ 1120:11b7785dd01b

This cpp file leads the optimizer bugging off out of the Solar System
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 05 Nov 2019 16:30:45 +0100
parents 29f5f2031310
children 1b47659f6a9f
comparison
equal deleted inserted replaced
1115:f00deb2b4733 1120:11b7785dd01b
15 * Affero General Public License for more details. 15 * Affero General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Affero General Public License 17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/ 19 **/
20
21 // working around a bug where the Visual C++ compiler would get
22 // stuck trying to compile this cpp file in release mode
23 // (versions: https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B)
24 #if _MSC_VER < 1600
25 # pragma optimize("", off)
26 // warning C4748: /GS can not protect parameters and local variables from
27 // local buffer overrun because optimizations are disabled in function
28 # pragma warning(disable: 4748)
29 #endif
20 30
21 #include "Framework/Toolbox/DicomStructureSetUtils.h" 31 #include "Framework/Toolbox/DicomStructureSetUtils.h"
22 #include "Framework/Toolbox/DicomStructureSet2.h" 32 #include "Framework/Toolbox/DicomStructureSet2.h"
23 #include "Framework/Toolbox/DisjointDataSet.h" 33 #include "Framework/Toolbox/DisjointDataSet.h"
24 34
5399 5409
5400 #endif 5410 #endif
5401 // BGO_ENABLE_DICOMSTRUCTURESETLOADER2 5411 // BGO_ENABLE_DICOMSTRUCTURESETLOADER2
5402 5412
5403 5413
5414