|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Suppressing warningsI'm trying to suppress some swig warnings using the %warnfilter
command, but can't get it to do anything (specifically with regards to warnings 403 and 473). As an example swig input file: %module "MyTest" %warnfilter(403) Derived; %warnfilter(403) Derived::method; %warnfilter(403) Base::method; %{ #include "swigheader.h" %} %include "swigheader.h" header file: class Base { public: virtual void method()=0; }; class Derived: public Base { public: void new_method(); }; swig command: swig -I. -Wall -interface _IMP -python -c++ swigtest.i warnings: swigheader.h:6: Warning(403): Class 'Derived' might be abstract, no constructors generated, swigheader.h:3: Warning(403): Method Base::method() might not be implemented. Swig version 1.3.38. Any way to make this work? Thanks. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Swig-user mailing list Swig-user@... https://lists.sourceforge.net/lists/listinfo/swig-user |
|
|
Re: Suppressing warningsHello,
Use -Wextra instead of -Wall. "14.3 Enabling extra warnings ... When -Wall is used, it also disables all other warning filters" franck
2009/10/8 Daniel Russel <drussel@...> I'm trying to suppress some swig warnings using the %warnfilter ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Swig-user mailing list Swig-user@... https://lists.sourceforge.net/lists/listinfo/swig-user |
|
|
Re: Suppressing warningsOn Oct 8, 2009, at 12:28 AM, Bidon Gamelle wrote: Hello, ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Swig-user mailing list Swig-user@... https://lists.sourceforge.net/lists/listinfo/swig-user |
| Free embeddable forum powered by Nabble | Forum Help |