]> git.saurik.com Git - wxWidgets.git/commitdiff
Reuse workaround for MinGW's problems with pragma interface/implementation
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 28 Nov 2004 18:42:15 +0000 (18:42 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 28 Nov 2004 18:42:15 +0000 (18:42 +0000)
        and STL support on OS/2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 31f0dbad54734fc2d8393df8d9796a8ed09c844f..84583ed3347299421285fe358d3ea2d72e6c6173 100644 (file)
@@ -6162,8 +6162,8 @@ else
             dnl pragmas:
             GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
             ;;
-        *-*-mingw32* )
-            dnl MinGW GCC versions >= 3.2 have problems with
+        *-*-mingw32* | *-pc-os2_emx | *-pc-os2-emx )
+            dnl MinGW and Innotek's GCC versions >= 3.2 have problems with
             dnl static member of classes derived from templates
             dnl in combination with #pragma interface/implementation
             dnl (the test case uses 4 files)
@@ -6172,7 +6172,7 @@ else
             if test "$wxUSE_STL" = "yes" -o \
                     "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
                     "$wxUSE_NO_RTTI" != "yes"; then
-               AC_MSG_CHECKING([if this MinGW version needs -DNO_GCC_PRAGMA])
+               AC_MSG_CHECKING([if this compiler version needs -DNO_GCC_PRAGMA])
                AC_TRY_COMPILE([],
                               [#if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
                                #error "Not GCC 3.2 or greater"