Ethereal-dev: Re: [Ethereal-dev] Use of C99 code in 0.10.8

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 29 Dec 2004 16:35:58 -0800
Guy Harris wrote:

-ansi -pedantic might, but it might also catch extensions we *want* to use and that are properly protected by #ifdefs (e.g., declaring some functions as being printf-like, so that the compiler can check the format string against the argument list). I'll try using the --with-extra-gcc-checks option to turn on -pedantic (and some other warnings), to see how well -ansi -pedantic works.

Well, Ethereal compiled with -ansi -pedantic.

However, the compiler warned about long long constants (even though we now require 64-bit integer support), and probably other hard-to-fix things, along with some things that *should* be fixed (such as casts that throw away "const" - I'm looking at those).

I'll see how much in the way of noise remains after cleanup.