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: Question about __attribute__ (mis)handling


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


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