1. Jason R. Coombs
  2. gcc-xml

Commits

king  committed 8b36bce

ERR: Disabling optimizations for MSVC. They cause bugs.

  • Participants
  • Parent commits 9a89607
  • Branches default
  • Tags ITK-1-6-bp

Comments (0)

Files changed (1)

File GCC/config_cmake/auto-host.h.in

View file
 # endif
 #endif
 
+/* Disable optimizations for MSVC.  They cause bugs.  */
+#if defined(_MSC_VER)
+# pragma optimize("", off)
+#endif
+
 #define GCC_TO_STRING(x) GCC_TO_STRING0(x)
 #define GCC_TO_STRING0(x) #x