This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Joy with new GCC 3.3 warnings -- HTF to shut them up?


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]