diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 0eeeca6891..b661775598 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -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';