diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2006-01-21 00:02:05 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2006-01-21 00:02:05 +0000 |
commit | cf9272fbaed7247edb34afdb39efb25b7fe3baf8 (patch) | |
tree | 4b21a5eafb707b5c8e29926647bb1f113c954130 /Examples/test-suite/li_std_wstring.i | |
parent | 8629d7f5136cdbd2d0a9ac99d41c188f0c75b712 (diff) | |
download | swig-cf9272fbaed7247edb34afdb39efb25b7fe3baf8.tar.gz |
remove vc++ noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/li_std_wstring.i')
-rw-r--r-- | Examples/test-suite/li_std_wstring.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Examples/test-suite/li_std_wstring.i b/Examples/test-suite/li_std_wstring.i index 906b62b25..51fac7f34 100644 --- a/Examples/test-suite/li_std_wstring.i +++ b/Examples/test-suite/li_std_wstring.i @@ -64,12 +64,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 + %} |