Subject: Re: __extension__ not actually present in gcc2.7.2.2?
To: Bill Sommerfeld <>
From: Klaus Klein <>
List: tech-toolchain
Date: 02/23/1999 17:00:17
Bill Sommerfeld <> 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 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 first, and based the
check on its contents.  After glancing at the source itself,
__extension__ is supposed to be supported in this context, but I'll
have another look...