[prev] [thread] [next] [lurker] [Date index for 2004/08/23]
--ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 23, 2004 at 01:26:09PM +0100, Simon Cozens wrote: > Phil Pennock: > > For portability checks, I've been using -Wall -pedantic and maybe -ansi; > > is this not enough? >=20 > No. Because, of course, -Wall doesn't mean what it says. Further gcc hate > there. >=20 > Perl uses gcc -g -O -pedantic -Wall -W -Wshadow -Wpointer-arith > -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-long-long And FreeBSD's make.conf sample has the following: # BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested # for use in developing FreeBSD and testing changes. They can be used by # putting "CFLAGS+=3D${BDECFLAGS}" in /etc/make.conf. -Wconversion is not # included here due to compiler bugs, e.g., mkdir()'s mode_t argument. # BDECFLAGS=3D -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings G'luck, Peter --=20 Peter Pentchev roam@xxxxxxx.xxx roam@xxxxx.xx roam@xxxxxxx.xxx PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contains exactly threee erors. --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBKgbI7Ri2jRYZRVMRAtyFAKC1tMqyvQzZ8uPnceJqS791czyD8ACfUI2T G4oHJI+uNxf7jJhz8p/uaTc= =JVj+ -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--There's stuff above here
Generated at 15:00 on 24 Aug 2004 by mariachi 0.52