[opensc-devel] unused parameters / -Wno-unused-parameter

2009-09-11 Thread Andreas Jellinghaus
With opensc we get a lots of warnings in --enable-strict or --enable- pendantic, a huge part is about unused parameters. While in general it is a good thing to warn about it, in our code with a generic interface it is common to pass many arguments, but not every implementation needs all of them.

Re: [opensc-devel] unused parameters / -Wno-unused-parameter

2009-09-11 Thread Aktiv Co. Aleksey Samsonov
Andreas Jellinghaus: I don't want to put __attribute__((unused)) everywhere to quiet gcc. Should we use -Wno-unused-parameters in configure when --enable-strict is added? that should quiet a lot of unreasonable warnings. I believe that the only true way to quiet a lot of unreasonable warnings