Bug#211661: gcc-3.3: With -std=c99, the NAN and INFINITY macros are not regarded as constants

2003-10-01 Thread Vincent Lefevre
reassign libc6-dev thanks On 2003-10-01 09:28:12 +0200, Vincent Lefevre wrote: Perhaps, but the definition of NAN in /usr/include/bits/nan.h uses a gcc extension: # define NAN \ (__extension__\ ((union { unsigned __l

Processed: [vincent@vinc17.org: Re: Bug#211661: gcc-3.3: With -std=c99, the NAN and INFINITY macros are not regarded as constants]

2003-10-01 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: reassign 211661 libc6-dev Bug#211661: gcc-3.3: With -std=c99, the NAN and INFINITY macros are not regarded as constants Bug reassigned from package `gcc-3.3' to `libc6-dev'. thanks Stopping processing here. Please contact me if you need assistance.

Bug#211661: gcc-3.3: With -std=c99, the NAN and INFINITY macros are not regarded as constants

2003-09-19 Thread Vincent Lefevre
Package: gcc-3.3 Version: 1:3.3.2-0pre3 Severity: normal When compiling the following program with gcc -std=c99 #include math.h int main (void) { static double x = NAN; return x == 0; } I get: testconstnan.c: In function `main': testconstnan.c:27: error: initializer element is not constant