Date: Fri, 1 Apr 2005 14:13:12 +0200 From: Marc Olzheim <marcolz@stack.nl> To: freebsd-hackers@freebsd.org Subject: Re: Making gcc "-Wformat" more verbose Message-ID: <20050401121312.GA98797@stack.nl> In-Reply-To: <20050330181208.GA64275@stack.nl> References: <20050330181208.GA64275@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<otherdir> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050401121312.GA98797>