Date: Fri, 21 Jun 2002 19:56:50 -0700 From: Juli Mallett <jmallett@FreeBSD.org> To: Doug Barton <DougB@FreeBSD.org> Cc: Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c Message-ID: <20020621195650.A29348@FreeBSD.ORG> In-Reply-To: <3D13E639.DEA28286@FreeBSD.org>; from DougB@FreeBSD.org on Fri, Jun 21, 2002 at 07:51:37PM -0700 References: <20020622024301.H4626-100000@gamplex.bde.org> <3D13E639.DEA28286@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Doug Barton <DougB@FreeBSD.org> 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 <jmallett@FreeBSD.org> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621195650.A29348>