From owner-cvs-all Fri Jun 21 19:56:56 2002 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 8C19E37B409; Fri, 21 Jun 2002 19:56:50 -0700 (PDT) Date: Fri, 21 Jun 2002 19:56:50 -0700 From: Juli Mallett To: Doug Barton Cc: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c Message-ID: <20020621195650.A29348@FreeBSD.ORG> References: <20020622024301.H4626-100000@gamplex.bde.org> <3D13E639.DEA28286@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D13E639.DEA28286@FreeBSD.org>; from DougB@FreeBSD.org on Fri, Jun 21, 2002 at 07:51:37PM -0700 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , X-Affiliated-Projects: FreeBSD, xMach, ircd-hybrid-7 X-Towel: Yes Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Doug Barton escriuréres > Bruce Evans wrote: > > > > On Fri, 21 Jun 2002, Juli Mallett wrote: > > > > > jmallett 2002/06/21 04:25:11 PDT > > > > > > Modified files: > > > usr.sbin/inetd inetd.c > > > Log: > > > Use __typeof__ instead of typeof. > > > > Both of these are gcc features. I prefer typeof since it doesn't give > > undefined behaviour for non-gcc compilers. > > As far as I recall, we still have a long-term project goal of making > sources that don't depend on gcc to compile, so I'd agree with Bruce > that this is a bad change. I seem to recall using at least one compiler that knew __typeof__ but not typeof, not to mention that GCC seems to be ignorant that typeof() is a builtin, but not __typeof__(), and therefore will emit bogus warnings. -- Juli Mallett | FreeBSD: The Power To Serve Will break world for fulltime employment. | finger jmallett@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message