[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#201658: marked as done ([PR 11931] unjustified warning for C89 code using HUGE_VAL)



Your message dated Sat, 6 Apr 2013 00:15:05 +0100
with message-id <CAPQ4b8n8BqYBh31_tMQZCEroyobz_VZ6tJZ6GK8Dh6M95hOKVA@mail.gmail.com>
and subject line Fixed 201658 in GCC 4.0.2
has caused the Debian Bug report #201658,
regarding [PR 11931] unjustified warning for C89 code using HUGE_VAL
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
201658: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=201658
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-3.3
Version: 1:3.3.1-0pre0
Severity: minor

Consider the following .c file:

    #include <math.h>
    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; it is entirely C89 conformant.
Presumably math.h (or something included by it) needs a tweak in its #if
directives.

There might be other symbolic constants with the same problem; I haven't
searched for them.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux arwen 2.4.19 #2 SMP Fri Nov 22 02:47:50 GMT 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages gcc-3.3 depends on:
ii  binutils                 2.14.90.0.4-0.1 The GNU assembler, linker and bina
ii  cpp-3.3                  1:3.3.1-0pre0   The GNU C preprocessor
ii  gcc-3.3-base             1:3.3.1-0pre0   The GNU Compiler Collection (base 
ii  libc6                    2.3.1-16        GNU C Library: Shared libraries an
ii  libgcc1                  1:3.3.1-0pre0   GCC support library

-- no debconf information



--- End Message ---
--- Begin Message ---
fixed 201658 1.29
stop

This bug was fixed in 4.0.2 according to the upstream bugtracker, which
was released loooong ago.

gcc 1.29 (Mon, 3 Oct 2005 22:28:43 +0000) depends on that version.

Cheers.

--- End Message ---

Reply to: