Problem understanding some warnings

"Alessandro L." <[email protected]> Wed, 19 Jan 2022 11:55:10 +0100
Newsgroups gmane.comp.programming.swig
Message-ID <CAN2Suigr40_mimS4wuaZNdSNJz6Fo8S4oKfk0vEm1B+A7c3-pA@mail.gmail.com>
Hello,
I am using SWIG on a large project to generate the Java code to use on
Android.

I had a few warnings, mainly related to operator overloading, that I got
rid of by means of %rename.

 I now am facing the remaining 2 warnings.

They are as follows:
Warning 402: Base class 'CartridgeWidget' is incomplete.
Warning 402: Only forward declaration 'CartridgeWidget' was found.

Warning 516: Overloaded method GetPixels() const ignored
Warning 516: using GetPixels() instead.


Now for Warning 516 I understand that there are two methods
GetPixels() and
GetPixels() const that cannot be translated to Java due to the lack of
support for overloading such method. And this is fine, but I am not able to
silence this warning (I am using -Wall to compile).

For Warning 402 I would really appreciate it if someone could shed a light
on it. I can post some code snippets if needed.

Thanks for your help,
Alessandro

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user