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.

Date: Wed, 29 Dec 2004 18:43:35 -0600
On Wed, Dec 29, 2004 at 04:35:58PM -0800, Guy Harris wrote:
> 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.

I wouldn't bother with this. Tons of other programs we build have the
same problem so we're use to it. And, we seem to be the only ones
complaining :)

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)