Removing most of level 4 warnings, particulary in 16 bits mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,14 +91,18 @@
|
||||
|
||||
// suppress some Visual C++ warnings
|
||||
#ifdef __VISUALC__
|
||||
# pragma warning(disable:4201) // nonstandard extension used: nameless struct/union
|
||||
# pragma warning(disable:4244) // conversion from double to float
|
||||
# pragma warning(disable:4100) // unreferenced formal parameter
|
||||
# pragma warning(disable:4511) // copy ctor couldn't be generated
|
||||
# pragma warning(disable:4512) // operator=() couldn't be generated
|
||||
#ifndef WIN32
|
||||
# pragma warning(disable:4699) // Using precompiled header
|
||||
# pragma warning(disable:4134) // conversion between pointers to members of same class
|
||||
#ifndef WIN32
|
||||
# pragma warning(disable:4135) // conversion between different integral types
|
||||
# pragma warning(disable:4769) // assignment of near pointer to long integer
|
||||
// This one is really annoying, since it occurs for each cast to (HANDLE)...
|
||||
# pragma warning(disable:4305) // truncation of long to near ptr
|
||||
#endif
|
||||
#endif // __VISUALC__
|
||||
|
||||
|
Reference in New Issue
Block a user