Some test-suite warning fixes
This commit is contained in:
parent
bb3fe8c906
commit
65b917dabb
2 changed files with 12 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue