[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: __attribute__ handling
From: |
Christian Thalinger |
Subject: |
Re: RFC: __attribute__ handling |
Date: |
Tue, 04 Oct 2005 12:29:38 +0200 |
On Mon, 2005-10-03 at 11:19 -0600, Tom Tromey wrote:
> >>>>> "Twisti" == Christian Thalinger <address@hidden> writes:
>
> Twisti> #ifndef __cplusplus
> Twisti> #define __attribute__(x) /* nothing */
> Twisti> #endif
>
> Why only if !__cplusplus?
Hmm, that seems to be a copy-paste bug. AFAIK a C++ compiler always has
the `inline' keyword. It should be removed and simply be defined.
TWISTI