Bug#201658: gcc-3.3: unjustified warning for C89 code using HUGE_VAL

2003-07-17 Thread Adam M. Costello
Matt Zimmerman <[EMAIL PROTECTED]> wrote: > My copy of bits/huge_val.h does this: > > #if __GNUC_PREREQ(2,96) > # define HUGE_VAL (__extension__ 0x1.0p2047) > #else > [...] Mine too. > I think __extension__ should be suppressing [the warning]. Maybe that's the bug; __extension__ is not h

Bug#201658: gcc-3.3: unjustified warning for C89 code using HUGE_VAL

2003-07-16 Thread Adam M. Costello
Package: gcc-3.3 Version: 1:3.3.1-0pre0 Severity: minor Consider the following .c file: #include double x = HUGE_VAL; gcc -ansi -pedantic -Wall gives the warning "use of C99 hexadecimal floating constant". There is nothing remotely suspicious about the code that would deserve a warning