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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.2.0
    • Build and Installation
    • None
    • EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise Server 9 (x86_64)

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: