Re: [AD] -Wno-unused

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


Elias Pschernig:
> Well, my guess is, there would be lots of warnings without it.. for code
> which is completely legitimate, e.g. the gui procs which don't use the c
> parameter.

For GCC, we could use the 'unused' attribute to silence those. If other
compilers have similar capability, perhaps we should add a AL_UNUSED macro
for this?

--
Daniel Schlyder
http://bitblaze.com/





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