From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 1 12:13:14 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABCF216A4CE for ; Fri, 1 Apr 2005 12:13:14 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E09B943D48 for ; Fri, 1 Apr 2005 12:13:13 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id F0A0F1F08C for ; Fri, 1 Apr 2005 14:13:12 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id D30B1696A; Fri, 1 Apr 2005 14:13:12 +0200 (CEST) Date: Fri, 1 Apr 2005 14:13:12 +0200 From: Marc Olzheim To: freebsd-hackers@freebsd.org Message-ID: <20050401121312.GA98797@stack.nl> References: <20050330181208.GA64275@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20050330181208.GA64275@stack.nl> X-Operating-System: FreeBSD hammer.stack.nl 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i Subject: Re: Making gcc "-Wformat" more verbose X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:13:14 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 30, 2005 at 08:12:08PM +0200, Marc Olzheim wrote: > Please have a look at it and tell me whether this could be useful for > FreeBSD or whether that's a bridge too far... >=20 > The patch is at > http://www.stack.nl/~marcolz/FreeBSD/gcc-printf.patch.txt >=20 > Besides that, you'll need to include the inttypes.h at > http://www.stack.nl/~marcolz/FreeBSD/inttypes.h instead of > /usr/include/inttypes.h >=20 > If you want to compile the kernel with it, make sure to turn of > -Werror... (Or install into somewhere else then /usr/libexec and use > CFLAGS=3D-B to gcc to try it out. I modified it, so that you need to supply -Wformat-pre-promo in addition to -Wformat to get the extra output... Marc --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCTTrYezjnobFOgrERAkTdAKCx1xA6mCMlQvlyKpROVUEI/46bMQCdHJin Lf1KIJ0D38mxUhJ1+zyb/OA= =uSzV -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--