This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Joy with new GCC 3.3 warnings -- HTF to shut them up?
- From: prj at po dot cwru dot edu (Paul Jarc)
- To: "Cook, Kelley \(R.K.\)" <kcook34 at ford dot com>
- Cc: "'David O'Brien'" <obrien at FreeBSD dot org>, "'GCC'" <gcc at gcc dot gnu dot org>
- Date: Thu, 01 May 2003 12:22:49 -0400
- Subject: Re: Joy with new GCC 3.3 warnings -- HTF to shut them up?
- Organization: What did you have in mind? A short, blunt, human pyramid?
- References: <E70D26A9CDD5C04D806EB8CA831D07210FC506@na1ecm61.dearborn.ford.com>
"Cook, Kelley (R.K.)" <kcook34@ford.com> wrote:
>> I tried adding "__attribute__((__unused__))" in various places in the
>> definition, but that didn't work.
>
> Probably because it should have been "__attribute__((unused))". :)
The 3.2.3 manual says:
# You may also specify attributes with `__' preceding and following
# each keyword. This allows you to use them in header files without
# being concerned about a possible macro of the same name. For example,
# you may use `__noreturn__' instead of `noreturn'.
Has this changed?
paul