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
|
* if there were also functions throwing 'std::logic_error' and
|
||||||
* 'std::exception' then the bug would not be fully replicated */
|
* '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 <exception>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
|
|
||||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
%typemap(in) SWIGTYPE [ANY] {
|
%typemap(in) SWIGTYPE [ANY] {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
@ -48,9 +49,11 @@ CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
|
|
||||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
%typemap(in) const SWIGTYPE [ANY] {
|
%typemap(in) const SWIGTYPE [ANY] {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%typemap(in) const volatile SWIGTYPE [ANY] {
|
%typemap(in) const volatile SWIGTYPE [ANY] {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
@ -61,9 +64,11 @@ CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
|
|
||||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
%typemap(in) volatile SWIGTYPE **const [ANY] {
|
%typemap(in) volatile SWIGTYPE **const [ANY] {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%typemap(in) volatile SWIGTYPE **const [ANY][ANY] {
|
%typemap(in) volatile SWIGTYPE **const [ANY][ANY] {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
@ -72,6 +77,7 @@ CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
|
|
||||||
CLEAR_SWIGTYPE_TYPEMAPS;
|
CLEAR_SWIGTYPE_TYPEMAPS;
|
||||||
%typemap(in) SWIGTYPE (*const) (ANY) {
|
%typemap(in) SWIGTYPE (*const) (ANY) {
|
||||||
|
$1 = 0;
|
||||||
/* Correct typemap for $symname: $type */
|
/* Correct typemap for $symname: $type */
|
||||||
}
|
}
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue