warning fixes for most target languages

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-04-05 19:37:51 +00:00
commit 462304094b

View file

@ -1,5 +1,18 @@
%module operator_overload_break
#if defined(SWIGPYTHON)
%warnfilter(SWIGWARN_IGNORE_OPERATOR_INDEX);
#endif
#if !defined(SWIGLUA) && !defined(SWIGR) && !defined(SWIGPERL)
%rename(Plus) operator +;
%rename(Minus) operator -;
%rename(EqualEqual) operator ==;
%rename(PlusPlusPrefix) operator++();
%rename(PlusPlusPostfix) operator++(int);
#endif
%{
#include <iostream>
using namespace std;
@ -48,4 +61,4 @@ public:
int k;
};
%}
%}