X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10c2f98a3951e534ac608fb801dd44f795733b82..63a65070911908802c27b52173c3306e93dd63bf:/src/common/datstrm.cpp?ds=sidebyside diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 8a97eca767..607c542647 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -549,8 +549,13 @@ void wxDataOutputStream::WriteDouble(double d) #if wxUSE_APPLE_IEEE wxConvertToIeeeExtended(d, (wxInt8 *)buf); #else + wxUnusedVar(d); #if !defined(__VMS__) && !defined(__GNUG__) +#ifdef _MSC_VER +# pragma message("wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!") +#else # pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!" +#endif #endif buf[0] = '\0'; #endif