From dfad5a66efbaec07c907e4dc35bc1a45eaafbbab Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 2 Nov 2006 08:30:23 +0000 Subject: [PATCH] vc++ warning suppression git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9510 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/exception_partial_info.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Examples/test-suite/exception_partial_info.i b/Examples/test-suite/exception_partial_info.i index 7b59feae5..59e4506c9 100644 --- a/Examples/test-suite/exception_partial_info.i +++ b/Examples/test-suite/exception_partial_info.i @@ -2,6 +2,12 @@ // This produced compileable code for Tcl, Python in 1.3.27, fails in 1.3.29 +%{ +#if defined(_MSC_VER) + #pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow) +#endif +%} + %{ class myException {