Hello, * Paul Eggert wrote on Mon, Aug 30, 2010 at 09:17:34PM CEST: > In controversial areas like this, we should look to the GNU coding standards > for advice, and they state that one shouldn't cast to void, or use > similar measures merely to satisfy a lint checker. So I suggest that we > not use ignore-value; instead, we should avoid the GCC options that > generate these warnings. > > For gnulib, I suggest that we deprecate the ignore-value module.
I wish glibc developers had looked to GCS for this area too, when adding all those warn_unused_result annotations to some library versions, making this an annoyance with GCC, not some lint. Cheers, Ralf