Ethereal-dev: RE: [Ethereal-dev] Additional warnings with -pedantic

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 22 Dec 2003 00:18:28 +0100
| From: Guy Harris
| 
| On Sun, Dec 21, 2003 at 06:06:10AM +0100, Joerg Mayer wrote:
| > OK, -pedantic finds C++ style comments, declarations after 
| statements
| > and several more problematic stuff. Unfortunately, it finds way too
| > much to be useful for everyone (I filter the stuff before looking at
| > it). I think we should add a pedantic configure option or a
| > make pedantic-all target or something like that.
| 
| Or we could have "--with-extra-gcc-checks" add "-pedantic" along with
| the "-W" flags it adds.

Maybe we can optionally add a parameter value to the --with-extra-gcc-checks
option so we can pass parameters like -pedantic (and objectionably misuse it
for other parameters like -ggdb).

Regards,

Olivier