X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b713f8919c649822292f04bb7095291585d96550..550343399aa1355469ffed72c8cf84c732dcf98b:/src/common/extended.c diff --git a/src/common/extended.c b/src/common/extended.c index 9e2b55f9d9..b3e2bd8cd6 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;