On Thu, Aug 09, 2007 at 02:04:12AM +0930, Ron wrote:
> Compiling swig wrappers with my usual list of warnings enabled makes a
> bit of noise that should be fairly easy to fix.  Changing the C casts
> that remove constness from (char*)X to const_cast<char*>(X) should
> silence most of them.  The 'format not a string literal and no format
> arguments' ones mean something like printf(string_variable) should be
> replaced with printf("%s", string_variable) instead.

I've already fixed the format string warnings upstream (back in 2008):

https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1882220&group_id=1645

There are still some cast and unused parameter warnings though.

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to