]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
fixed bug in Set(double jdn): don't test whether the date is valid before setting...
[wxWidgets.git] / 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';