[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: __attribute__ handling
From: |
Dalibor Topic |
Subject: |
Re: RFC: __attribute__ handling |
Date: |
Tue, 04 Oct 2005 19:22:21 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050331) |
Tom Tromey wrote:
>>>>>>"Twisti" == Christian Thalinger <address@hidden> writes:
>
>
>>>Why only if !__cplusplus?
>
>
> Twisti> Hmm, that seems to be a copy-paste bug. AFAIK a C++ compiler
> Twisti> always has the `inline' keyword. It should be removed and
> Twisti> simply be defined.
>
> This seems ok to me then.
>
Kaffe has a convenient macro for all that:
http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/m4/gcc_attribute.m4?rev=1.5&only_with_tag=HEAD&content-type=text/vnd.viewcvs-markup
cheers,
dalibor topic