php4 multiple inheritance warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a3c0a7f9df
commit
d8f4f94802
11 changed files with 16 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
|||
%module(ruby_minherit="1") abstract_virtual
|
||||
|
||||
%warnfilter(813,833) D; /* C#, Java multiple inheritance */
|
||||
%warnfilter(813,833) E; /* C#, Java multiple inheritance */
|
||||
%warnfilter(813,833,870) D; /* C#, Java, Php4 multiple inheritance */
|
||||
%warnfilter(813,833,870) E; /* C#, Java, Php4 multiple inheritance */
|
||||
|
||||
%inline %{
|
||||
struct A
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%module contract
|
||||
|
||||
%warnfilter(802,813,833) C; /* C#, Java multiple inheritance */
|
||||
%warnfilter(802,813,833,870) C; /* Ruby, C#, Java, Php4 multiple inheritance */
|
||||
|
||||
#ifdef SWIGCSHARP
|
||||
%ignore B::bar; // otherwise get a warning: `C.bar' no suitable methods found to override
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
%module(ruby_minherit="1") default_constructor
|
||||
|
||||
%warnfilter(813,833) EB; /* C#, Java multiple inheritance */
|
||||
%warnfilter(813,833) AD; /* C#, Java multiple inheritance */
|
||||
%warnfilter(813,833,870) EB; /* C#, Java, Php4 multiple inheritance */
|
||||
%warnfilter(813,833,870) AD; /* C#, Java, Php4 multiple inheritance */
|
||||
%warnfilter(510) F; /* friend function */
|
||||
|
||||
%inline %{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
%warnfilter(801) foo; // Ruby, wrong class name
|
||||
%warnfilter(801) bar; // Ruby, wrong class name
|
||||
%warnfilter(801) baz; // Ruby, wrong class name
|
||||
%warnfilter(801,813,833) spam; // Ruby, wrong class name; C# & Java, multiple inheritance
|
||||
%warnfilter(801) spam; // Ruby, wrong class name
|
||||
%warnfilter(813,833,870) spam; // C# & Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
%warnfilter(801) Blah::foo; // Ruby, wrong class name
|
||||
%warnfilter(801) Blah::bar; // Ruby, wrong class name
|
||||
%warnfilter(801) Blah::baz; // Ruby, wrong class name
|
||||
%warnfilter(801,813,833) Blah::spam; // Ruby, wrong class name; C# & Java, multiple inheritance
|
||||
%warnfilter(801) Blah::spam; // Ruby, wrong class name
|
||||
%warnfilter(813,833,870) Blah::spam; // C# & Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
namespace Blah {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
%warnfilter(801) foo; // Ruby, wrong class name
|
||||
%warnfilter(801) bar; // Ruby, wrong class name
|
||||
%warnfilter(801) baz; // Ruby, wrong class name
|
||||
%warnfilter(801,813,833) spam; // Ruby, wrong class name; C# & Java, multiple inheritance
|
||||
%warnfilter(801) spam; // Ruby, wrong class name
|
||||
%warnfilter(813,833,870) spam; // C# & Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
%module(ruby_minherit="1") pure_virtual
|
||||
|
||||
%warnfilter(813,833) E; /* C#, Java multiple inheritance */
|
||||
%warnfilter(813,833,870) E; /* C#, Java, Php4 multiple inheritance */
|
||||
|
||||
%nodefault C;
|
||||
%nodefault E;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%module(ruby_minherit="1") template_inherit_abstract
|
||||
|
||||
%warnfilter(801) oss::test; /* Ruby, wrong class name */
|
||||
%warnfilter(813,833) oss::Module; /* C# & Java, multiple inheritance */
|
||||
%warnfilter(813,833,870) oss::Module; /* C#, Java, Php4 multiple inheritance */
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%module(ruby_minherit="1") using_composition
|
||||
|
||||
%warnfilter(813,833) FooBar; // C#, Java multiple inheritance
|
||||
%warnfilter(813,833,870) FooBar; // C#, Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
class Foo {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
%module(ruby_minherit="1") using_extend
|
||||
|
||||
%warnfilter(813,833) FooBar; // C#, Java multiple inheritance
|
||||
%warnfilter(813,833,870) FooBar; // C#, Java, Php4 multiple inheritance
|
||||
|
||||
%extend Foo {
|
||||
int blah(int x, int y) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
%warnfilter(801) hi::hi0; /* Ruby, wrong class name */
|
||||
%warnfilter(801) hi::hi1; /* Ruby, wrong class name */
|
||||
|
||||
%warnfilter(813,833) Hi<hello::Hello, hi::hi0>; // C#, Java multiple inheritance
|
||||
%warnfilter(813,833,870) Hi<hello::Hello, hi::hi0>; // C#, Java, Php4 multiple inheritance
|
||||
|
||||
%inline %{
|
||||
namespace hello
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue