stdcxx-dev  

[jira] Created: (STDCXX-553) [EDG eccp/gcc 4] errors on <float.h> macros

Martin Sebor (JIRA)
Thu, 13 Sep 2007 09:24:55 -0700

[EDG eccp/gcc 4] errors on <float.h> macros
-------------------------------------------

                 Key: STDCXX-553
                 URL: https://issues.apache.org/jira/browse/STDCXX-553
             Project: C++ Standard Library
          Issue Type: Bug
          Components: External
         Environment: EDG eccp 3.9/gcc 4.1.2/Linux
            Reporter: Martin Sebor


$ cat /etc/fedora-release && gcc -v && cat t.cpp && eccp -V t.cpp
Fedora Core release 6 (Zod)
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)
#include <float.h>

int main ()
{
    int i = DBL_DIG;
}
"t.cpp", line 5: error: identifier "__DBL_DIG__" is undefined
      int i = DBL_DIG;
              ^

1 error detected in the compilation of "t.cpp".


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.