From 90c0608798c31c2c09964ed0acbf2612ebf8e653 Mon Sep 17 00:00:00 2001 From: Logan Johnson Date: Wed, 19 Feb 2003 20:17:47 +0000 Subject: [PATCH] Fixed warning messages for preproc_5.i, template_extend1.i and template_extend2.i test cases. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4354 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/preproc_5.i | 5 +++++ SWIG/Examples/test-suite/template_extend1.i | 3 +++ SWIG/Examples/test-suite/template_extend2.i | 3 +++ 3 files changed, 11 insertions(+) diff --git a/SWIG/Examples/test-suite/preproc_5.i b/SWIG/Examples/test-suite/preproc_5.i index 68ba5afa8..bc49a50cc 100644 --- a/SWIG/Examples/test-suite/preproc_5.i +++ b/SWIG/Examples/test-suite/preproc_5.i @@ -1,5 +1,10 @@ %module preproc_5 +%warnfilter(801) a; // Ruby, wrong constant name +%warnfilter(801) b; // Ruby, wrong constant name +%warnfilter(801) c; // Ruby, wrong constant name +%warnfilter(801) d; // Ruby, wrong constant name + // Various preprocessor bits of nastiness. diff --git a/SWIG/Examples/test-suite/template_extend1.i b/SWIG/Examples/test-suite/template_extend1.i index 6c3574f93..e6a8673a8 100644 --- a/SWIG/Examples/test-suite/template_extend1.i +++ b/SWIG/Examples/test-suite/template_extend1.i @@ -2,6 +2,9 @@ %module template_extend1 +%warnfilter(801) Baz; // Ruby, wrong class name +%warnfilter(801) Baz; // Ruby, wrong class name + %{ namespace Quux { template class Baz {}; diff --git a/SWIG/Examples/test-suite/template_extend2.i b/SWIG/Examples/test-suite/template_extend2.i index af973412e..396223e25 100644 --- a/SWIG/Examples/test-suite/template_extend2.i +++ b/SWIG/Examples/test-suite/template_extend2.i @@ -1,6 +1,9 @@ // Another evil Luigi test %module template_extend2 +%warnfilter(801) Baz; // Ruby, wrong class name +%warnfilter(801) Baz; // Ruby, wrong class name + %{ namespace Quux { template class Baz {};