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

[EDG eccp/Linux] error on fileno() in file.cpp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise Server 9 (x86_64)

    • Severity:
      Compiler Error

      Description

      The library fails to build with EDG eccp 3.10 (and likely prior versions) on top of gcc 3.3.3 on SUSE Linux 9 with the errors below:

      eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.10-11s/include -A -x --template_directory=/build/sebor/stdcxx-eccp-3.10-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /amd/devco/sebor/stdcxx/src/file.cpp
      "/amd/devco/sebor/stdcxx/src/file.cpp", line 423: error #20: identifier
      "fileno" is undefined
      return _RWSTD_FILENO (_RWSTD_STATIC_CAST (FILE*, file));
      ^

      "/amd/devco/sebor/stdcxx/src/file.cpp", line 469: error #20: identifier
      "fileno" is undefined
      return __rw_fdmode (_RWSTD_FILENO (fp));
      ^

      2 errors detected in the compilation of "/amd/devco/sebor/stdcxx/src/file.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: