diff --git a/Examples/test-suite/enums.i b/Examples/test-suite/enums.i index 65b0f6fab..3ea48b90e 100644 --- a/Examples/test-suite/enums.i +++ b/Examples/test-suite/enums.i @@ -49,7 +49,7 @@ typedef struct _Foo { %} -%warnfilter(SWIGWARN_RUBY_WRONG_NAME) iFoo; /* Ruby, wrong constant name */ +%warnfilter(SWIGWARN_RUBY_WRONG_NAME) _iFoo; #ifndef __cplusplus %inline %{ diff --git a/Examples/test-suite/exception_partial_info.i b/Examples/test-suite/exception_partial_info.i index 0da6c9794..7b59feae5 100644 --- a/Examples/test-suite/exception_partial_info.i +++ b/Examples/test-suite/exception_partial_info.i @@ -23,7 +23,7 @@ class ex2 : public myException %} %inline %{ -class impl +class Impl { public: void f1() throw (myException) { ex1 e; throw e; }