Date: Wed, 22 May 2002 12:17:38 -0700 From: Alfred Perlstein <bright@mu.org> To: David O'Brien <obrien@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/gcc c-format.c Message-ID: <20020522191738.GZ54960@elvis.mu.org> In-Reply-To: <20020522115757.A81163@dragon.nuxi.com> References: <200205221637.g4MGb9e63421@freefall.freebsd.org> <20020522173014.GW54960@elvis.mu.org> <20020522115757.A81163@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* David O'Brien <obrien@FreeBSD.org> [020522 11:58] wrote: > On Wed, May 22, 2002 at 10:30:14AM -0700, Alfred Perlstein wrote: > > * David E. O'Brien <obrien@FreeBSD.org> [020522 09:37] wrote: > > > obrien 2002/05/22 09:37:09 PDT > > > > > > Modified files: > > > contrib/gcc c-format.c > > > Log: > > > 1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions) > > > and 1.3 (printf0) for GCC 3.1. > > > > Shall I fix src/sys/sys/cdefs.h now? > > Fix, as in how? Sorry, re-enable the printf0 code: Index: cdefs.h =================================================================== RCS file: /home/ncvs/src/sys/sys/cdefs.h,v retrieving revision 1.54 diff -u -r1.54 cdefs.h --- cdefs.h 11 May 2002 03:58:24 -0000 1.54 +++ cdefs.h 22 May 2002 19:16:13 -0000 @@ -169,7 +169,7 @@ #endif /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ -#if 0 && __FreeBSD_cc_version >= 300001 +#if __FreeBSD_cc_version >= 300001 #define __printf0like(fmtarg, firstvararg) \ __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) #else -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.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?20020522191738.GZ54960>