X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/130f49d78c50284f859f7a64bd824403de6c3f4f..a3ef5bf5045991260005634272633717c0a26174:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 1218c39632..a332d31490 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -46,6 +46,15 @@ # pragma warning(disable:4100) // unreferenced formal parameter #endif +// suppress some Salford C++ warnings +#ifdef __SALFORDC__ +# pragma suppress 353 // Possible nested comments +# pragma suppress 593 // Define not used +# pragma suppress 61 // enum has no name (doesn't suppress!) +# pragma suppress 106 // unnamed, unused parameter +# pragma suppress 571 // Virtual function hiding +#endif + ////////////////////////////////////////////////////////////////////////////////// // Currently Only MS-Windows/NT, XView and Motif are supported // @@ -109,6 +118,8 @@ #endif #elif defined(__SC__) typedef unsigned int bool; +#elif defined(__SALFORDC__) + typedef unsigned int bool; #elif defined(_MSC_VER) && (_MSC_VER <= 1000) typedef unsigned int bool; #elif defined(_MSC_VER) && (_MSC_VER == 1020)