From owner-cvs-all@FreeBSD.ORG Sat Apr 9 07:29:47 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AABA516A4CE; Sat, 9 Apr 2005 07:29:47 +0000 (GMT) Received: from fafoe.narf.at (chello213047085026.6.14.vie.surfer.at [213.47.85.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01E543D48; Sat, 9 Apr 2005 07:29:46 +0000 (GMT) (envelope-from stefan@fafoe.narf.at) Received: from wombat.fafoe.narf.at (wombat.fafoe.narf.at [192.168.1.42]) by fafoe.narf.at (Postfix) with ESMTP id 9872340E1; Sat, 9 Apr 2005 09:29:44 +0200 (CEST) Received: by wombat.fafoe.narf.at (Postfix, from userid 1001) id 40172137; Sat, 9 Apr 2005 09:29:41 +0200 (CEST) Date: Sat, 9 Apr 2005 09:29:40 +0200 From: Stefan Farfeleder To: Sam Leffler Message-ID: <20050409072939.GA587@wombat.fafoe.narf.at> References: <200504082137.j38LbfBP082199@repoman.freebsd.org> <42570A2B.7020300@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42570A2B.7020300@errno.com> User-Agent: Mutt/1.5.9i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c ifconfig.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 07:29:47 -0000 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