vc++ warning suppression

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-11-02 08:30:23 +00:00
commit dfad5a66ef

View file

@ -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
{