cvs commit: src/sbin/ifconfig ifconfig.c ifconfig.h
Stefan Farfeleder
stefanf at FreeBSD.org
Sat Apr 9 00:29:47 PDT 2005
On Fri, Apr 08, 2005 at 03:48:11PM -0700, Sam Leffler wrote:
> Stefan Farfeleder wrote:
> >stefanf 2005-04-08 21:37:41 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sbin/ifconfig ifconfig.c ifconfig.h
> > Log:
> > ISO C does not allow unnamed union members.
>
> Not sure what "ISO C" means; were you saying this was using a
> gcc-specific mechanism? I thought this was permitted by C99.
I'm afraid you're mistaken. It's an error in both C standards, C89/90
and C99. GCC even warns about it if you add -pedantic.
Stefan
More information about the cvs-src
mailing list