> Hi all.
> I have a new problem with my code swig.
> I have a method friend in a file C++ but i port this file, the methods
> friend procedure a warnings.
> Is possible that swig not port methods friends?
> I need solution this warning.
> thanks for your time.
If you don't want it, just %ignore it.
%ignore notNeeded; // ignore the method
friend void notNeeded(); // we don't want this
By default SWIG wraps everything it can, so just add %ignores to remove them.