test-suite fixes (Java directors) for compilers that don't support varargs
This commit is contained in:
parent
bea708c796
commit
8555973a48
2 changed files with 5 additions and 5 deletions
|
|
@ -175,9 +175,9 @@ namespace MyNS {
|
|||
%{
|
||||
// throw is deprecated in C++11 and invalid in C++17 and later
|
||||
#if defined(__cplusplus) && __cplusplus >= 201103L
|
||||
#define throw(TYPES...)
|
||||
#define throw(TYPE1, TYPE2)
|
||||
#else
|
||||
#define throw(TYPES...) throw(TYPES)
|
||||
#define throw(TYPE1, TYPE2) throw(TYPE1, TYPE2)
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue