Some test-suite warning fixes

This commit is contained in:
William S Fulton 2013-04-06 16:19:17 -07:00
commit 65b917dabb
2 changed files with 12 additions and 0 deletions

View file

@ -5,6 +5,12 @@
* if there were also functions throwing 'std::logic_error' and
* 'std::exception' then the bug would not be fully replicated */
%{
#if defined(_MSC_VER)
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif
%}
%{
#include <exception>
#include <stdexcept>