Joy with new GCC 3.3 warnings -- HTF to shut them up?
Paul Jarc
prj@po.cwru.edu
Thu May 1 16:22:00 GMT 2003
"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
More information about the Gcc
mailing list