Subject: __extension__ not actually present in gcc126.96.36.199?
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
188.8.131.52+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 184.108.40.206 compiler to accept __extension__,
which suggests that this comment isn't quite right...