Date: 19 Jul 2001 03:31:55 +0200 From: Assar Westerlund <assar@FreeBSD.org> To: Greg Lehey <grog@FreeBSD.org> Cc: Dag-Erling Smorgrav <des@ofug.org>, Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys sbuf.h Message-ID: <5l66cpwvp0.fsf@assaris.sics.se> In-Reply-To: Greg Lehey's message of "Thu, 19 Jul 2001 10:42:16 %2B0930" References: <200107181558.f6IFw6A86129@freefall.freebsd.org> <xzp8zhm11e3.fsf@flood.ping.uio.no> <20010719104216.S69861@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey <grog@FreeBSD.org> writes: > On Wednesday, 18 July 2001 at 21:29:56 +0200, Dag-Erling Smorgrav wrote: > > Poul-Henning Kamp <phk@FreeBSD.org> writes: > >> Log: > >> Add printf format checking to sbuf_printf() > > > > Big style boo-boo, the prototype for sbuf_printf() is now 86 > > characters wide. > > Isn't this also a gcc extension? I thought that was not desired. No. __printflike is #define'd differently in sys/cdefs.h for (modern) gcc and other compilers. It's most definitely desired since it provides useful warnings. /assar 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?5l66cpwvp0.fsf>