Subject: Re: __extension__ not actually present in gcc2.7.2.2?
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Klaus Klein <kleink@ira.uka.de>
List: tech-toolchain
Date: 02/23/1999 17:00:17
Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> writes:

> The comment in sys/cdefs.h says:
> 
> /*
>  * GCC2 provides __extension__ to suppress warnings for various GNU C
>  * language extensions under "-ansi -pedantic".
>  */
> #if !defined(__GNUC__) || __GNUC__ < 2
> #define	__extension__		/* delete __extension__ if non-gcc or gcc1 */
> #endif
> 
> I can't get the arm32 gcc 2.7.2.2 compiler to accept __extension__,
> which suggests that this comment isn't quite right...

When I made that particular change, I had a look at the various
ChangeLog files distributed with gcc 2.7.2.2 first, and based the
check on its contents.  After glancing at the 2.7.2.2 source itself,
__extension__ is supposed to be supported in this context, but I'll
have another look...


-klaus