X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b713f8919c649822292f04bb7095291585d96550..137c8bde085d6d5b7c459902d2ea1a198ab48765:/src/common/extended.c?ds=sidebyside diff --git a/src/common/extended.c b/src/common/extended.c index 9e2b55f9d9..53cf1db8b5 100644 --- a/src/common/extended.c +++ b/src/common/extended.c @@ -8,6 +8,12 @@ *****************************************************************************/ +#if defined(_WIN32_WCE) + /* eVC cause warnings in its own headers: stdlib.h and winnt.h */ + #pragma warning (disable:4115) + #pragma warning (disable:4214) +#endif + #include #include #include @@ -15,6 +21,11 @@ #include #include "wx/defs.h" +#if defined(_WIN32_WCE) + #pragma warning (default:4115) + #pragma warning (default:4214) +#endif + #if wxUSE_APPLE_IEEE #include "wx/math.h" @@ -94,7 +105,7 @@ * and a 64-bit mantissa, with no hidden bit. ****************************************************************/ -wxFloat64 ConvertFromIeeeExtended(wxInt8* bytes) +wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes) { wxFloat64 f; wxInt32 expon;