This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about __attribute__ (mis)handling
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Ira Ruben <ira at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 13 Dec 2001 10:12:11 -0800
- Subject: Re: Question about __attribute__ (mis)handling
- References: <p05100300b83d61dfe807@[17.202.44.152]>
>>>>> "Ira" == Ira Ruben <ira@apple.com> writes:
> I have a question about __attribute__ handling for C++ inline member
> functions. Given the following example:
i've been fixing a few things wrong with attributes.
Are you getting a warning that it's being ignored? If so, then this
is for you:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg00971.html
if you're not, it may be that the given attribute is applied on the
wrong thing-- the mode attribute is currently applied to decls not
types, and this gets fixed here:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01063.html
if you have a similar problem, you might want to fix the attribute to
work on types.
Aldy