remove vc++ noise

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-21 00:02:05 +00:00
commit 298fd2df39
5 changed files with 31 additions and 0 deletions

View file

@ -70,12 +70,20 @@ std::wstring& test_reference_out() {
return x;
}
#if defined(_MSC_VER)
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif
void test_throw() throw(std::wstring){
static std::wstring x = L"x";
throw x;
}
#if defined(_MSC_VER)
#pragma warning(default: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif
%}

View file

@ -1,5 +1,8 @@
%module std_containers
%{
#include <set>
%}
%include std_vector.i
%include std_string.i
%include std_deque.i