]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc doesn't have pragma warning
authorRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:19:31 +0000 (10:19 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:19:31 +0000 (10:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datstrm.cpp

index 0eeeca6891612b6906ea280f66e164fd2dab9d59..b661775598c3c8297cd56b1e5f793730c247c473 100644 (file)
@@ -335,7 +335,7 @@ void wxDataOutputStream::WriteDouble(double d)
 #if wxUSE_APPLE_IEEE
   ConvertToIeeeExtended(d, (unsigned char *)buf);
 #else
-#ifndef __VMS__
+#if !defined(__VMS__) && !defined(__GNUG__)
 # pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
 #endif
    buf[0] = '\0';