c++/5026: __attribute__ ((unused) seems misdocumented
bangerth@dealii.org
bangerth@dealii.org
Tue Dec 10 16:53:00 GMT 2002
Synopsis: __attribute__ ((unused) seems misdocumented
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Dec 10 16:53:43 2002
State-Changed-Why:
This still applies. I agree that the last sentence of the
attribute description is un-understandable:
---------------
@cindex @code{unused} attribute.
@item unused
This attribute, attached to a function, means that the function is meant
to be possibly unused. GCC will not produce a warning for this
function. GNU C++ does not currently support this attribute as
definitions without parameters are valid in C++.
-----------------
What is the supposed meaning of it? Unfortunately, the CVS
history does not reach back far enough...
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5026
More information about the Gcc-prs
mailing list