Question about __attribute__ (mis)handling

Aldy Hernandez aldyh@redhat.com
Thu Dec 13 10:14:00 GMT 2001


>>>>> "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



More information about the Gcc mailing list