Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-553

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • External
    • None
    • EDG eccp 3.9/gcc 4.1.2/Linux

    • Compiler Error

    Description

      $ 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".

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: