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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.2.0
    • Component/s: External
    • Labels:
      None
    • Environment:

      EDG eccp 3.9/gcc 4.1.2/Linux

    • Severity:
      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

              • Assignee:
                sebor Martin Sebor
                Reporter:
                sebor Martin Sebor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: