diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2017-01-26 20:02:37 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2017-01-26 20:02:37 +0000 |
commit | a8e1862aca759ef6159201fd61dd8536870de54c (patch) | |
tree | f5bd10cce41a251d7e405612935f5ebbabd6d426 | |
parent | ac916b006a7c020a5c35d4c63854a5a8fda4500f (diff) | |
download | swig-a8e1862aca759ef6159201fd61dd8536870de54c.tar.gz |
Remove warnings in Octave testcase
-rw-r--r-- | Examples/test-suite/friends.i | 7 | ||||
-rw-r--r-- | Examples/test-suite/friends_template.i | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Examples/test-suite/friends.i b/Examples/test-suite/friends.i index 2dfee6f3b..1ba1e5e17 100644 --- a/Examples/test-suite/friends.i +++ b/Examples/test-suite/friends.i @@ -5,7 +5,12 @@ %warnfilter(SWIGWARN_LANG_IDENTIFIER); - +#if defined(SWIGOCTAVE) +%warnfilter(SWIGWARN_IGNORE_OPERATOR_LSHIFT_MSG) operator<<; +%warnfilter(SWIGWARN_IGNORE_OPERATOR_RSHIFT_MSG) operator>>; +#endif + + %inline { diff --git a/Examples/test-suite/friends_template.i b/Examples/test-suite/friends_template.i index 48623f2ca..363e88f16 100644 --- a/Examples/test-suite/friends_template.i +++ b/Examples/test-suite/friends_template.i @@ -1,5 +1,10 @@ %module friends_template +#if defined(SWIGOCTAVE) +%warnfilter(SWIGWARN_IGNORE_OPERATOR_RSHIFT_MSG) operator>>; +#endif + + %{ template <typename Type> class MyClass; |