From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17691 invoked by alias); 11 Dec 2002 00:53:44 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17665 invoked by uid 61); 11 Dec 2002 00:53:44 -0000 Date: Tue, 10 Dec 2002 16:53:00 -0000 Message-ID: <20021211005344.17664.qmail@sources.redhat.com> To: bh@techhouse.brown.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, bh@techhouse.brown.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/5026: __attribute__ ((unused) seems misdocumented X-SW-Source: 2002-12/txt/msg00612.txt.bz2 List-Id: 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