Subject: __extension__ not actually present in gcc18.104.22.168?
To: None <email@example.com>
From: Bill Sommerfeld <firstname.lastname@example.org>
Date: 02/23/1999 09:01:14
Klaus Klein just committed a change to if_arp.h to use __extension__
in if_arp.h; when attempting to compile a kernel on a shark with
22.214.171.124+myc1, this blew up. (Yeah, I know, I should be using egcs,
but i figured I might as well report this before I attempt to upgrade...)
date: 1999/02/21 17:35:17; author: kleink; state: Exp; lines: +2 -1
Zero-sized arrays are a GNU C extension; from Dave Sainty in PR kern/6271.
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 */
I can't get the arm32 gcc 126.96.36.199 compiler to accept __extension__,
which suggests that this comment isn't quite right...