suppress warnings during WinCE compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-08 12:13:13 +00:00
parent fbaddf4482
commit 8b0107e452
2 changed files with 24 additions and 2 deletions

View File

@@ -25,6 +25,15 @@
* warning: unreferenced formal parameter.
*/
# pragma warning(disable:4100)
#ifdef __WXWINCE__
/*
"unreferenced inline function has been removed": this is not
suppressed by push above as it is given at the end of the
compilation unit
*/
# pragma warning(disable:4514)
#endif /* __WXWINCE__ */
#endif /* _MSC_VER */
#include <winsock.h>

View File

@@ -24,7 +24,7 @@
* RPCNOTIFICATION_ROUTINE
*/
#ifdef _MSC_VER
# pragma warning(disable:4115) /* named type definition in parentheses */
# pragma warning(disable:4115) /* named type definition in parentheses */
#endif
/* This needs to be before the wx/defs/h inclusion
@@ -32,7 +32,20 @@
*/
#ifdef __WXWINCE__
#include <windows.h>
/* windows.h results in tons of warnings at max warning level */
# ifdef _MSC_VER
# pragma warning(push, 1)
/*
"unreferenced inline function has been removed": this is not
suppressed by push above as it is given at the end of the
compilation unit
*/
# pragma warning(disable:4514)
# endif
# include <windows.h>
# ifdef _MSC_VER
# pragma warning(pop)
# endif
#endif
#ifndef __GSOCKET_STANDALONE__