Le lundi 14 janvier 2013 22:40:45, Diego Biurrun a écrit : > > Umm, no. Sure, we don't have these annotations everywhere, and we > > don't warn about it by default, but removing isn't necessary either. > > Why do you want to keep them in just a few select places? We probably > have dozens or hundreds of functions with unused parameters...
In my humble opinion, you could enable the warnings. While they are annoying for prototype-constrained callbacks, they sometimes find removable parameters in non-callback functions. Also, you can use the standard-conformant cast to void in the function body. That should be less of a problem than a GCC attribute. -- Rémi Denis-Courmont http://www.remlab.net/ _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
