Re: [AD] -Wno-unused

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> But, looking into the gcc manual, I think we should change the
> "-Wno-unused" to "-Wno-unused-parameter". That way, it will still not
> warn about unused parameters, but it will warn about unused local
> variables at least, which is a good thing.

Sounds sensible to me.
Also, I think I got `statement without effect' warnings when trying to 
silence the warnings by casting an unused variable to void - which 
obviously defeats the purpose.

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/