]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/extended.c
Warning and build fixes focused with Borland and Watcom.
[wxWidgets.git] / src / common / extended.c
index 9e2b55f9d9749cedb8994e15c01cda9f8974200a..9ff1b19f022d27e6c4a8a1da2c618dceddd21a79 100644 (file)
@@ -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 <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
 #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"