disable VC++ warning 4355 in wx/defs.h once and for all instead of doing it in 4 different places

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-10-09 22:34:08 +00:00
parent 547703373c
commit 77df51f4fb
4 changed files with 4 additions and 52 deletions

View File

@@ -65,18 +65,13 @@
#ifdef __VISUALC__
/* the only "real" warning here is 4244 but there are just too many of them */
/* in our code... one day someone should go and fix them but until then... */
# pragma warning(disable:4097) /* typedef used as class */
# pragma warning(disable:4201) /* nonstandard extension used: nameless struct/union */
# pragma warning(disable:4244) /* conversion from double to float */
# pragma warning(disable:4710) /* function not inlined */
# pragma warning(disable:4097) /* typedef used as class */
# pragma warning(disable:4355) /* 'this' used in base member initializer list */
# pragma warning(disable:4511) /* copy ctor couldn't be generated */
# pragma warning(disable:4512) /* operator=() couldn't be generated */
#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
# pragma warning(disable:4710) /* function not inlined */
#endif /* __VISUALC__ */
/* suppress some Salford C++ warnings */