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:
parent
250d3f8244
commit
298fd2df39
5 changed files with 31 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
%module std_containers
|
||||
|
||||
%{
|
||||
#include <set>
|
||||
%}
|
||||
%include std_vector.i
|
||||
%include std_string.i
|
||||
%include std_deque.i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue