Ethereal-dev: Re: [Ethereal-dev] More interesting warnings

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 29 Dec 2003 14:03:56 -0800
On Mon, Dec 29, 2003 at 10:56:40PM +0100, Joerg Mayer wrote:
> The following list of warnings are worth taking a look at:
> 
> Might this cause problems on older compilers?
> ftype-double.c:69:48: warning: use of C99 hexadecimal floating constant

On what OS is this being done?  And with what compiler flags?  Does this
include "-pedantic"?

I assume it's complaining about HUGE_VAL, but I'd also expect that to
come from header files that *should* be compatible with the compiler. 
However, the headers might be headers for GCC and be headers that are
assuming GCC, and if you're compiling with "-pedantic" it might be
warning that the value of HUGE_VAL assumes a feature not in C89, even
though it's in the version of GCC for which the header is intended.