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

[gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 4.2.1
    • 4.2.2
    • Build and Installation
    • None
    • gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

    • Compiler Error

    Description

      stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors:

      gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \
          -D_RWSTDDEBUG   -pthread \
          -I/amd/homes/sebor/stdcxx-4.2.1/include \
          -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \
          -pedantic -nostdinc++ -g   -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  -fPIC  \
          /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp
      In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39,
                       from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34,
                       from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31:
      /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: '_RWSTD_SEEK_SET' was not declared in this scope
      /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: '_RWSTD_SEEK_CUR' was not declared in this scope
      /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: '_RWSTD_SEEK_END' was not declared in this scope
      make[2]: *** [bitset.o] Error 1
      make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib'
      make[1]: *** [lib] Error 2
      make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D'
      make: *** [libstd] Error 2
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Time Spent - 1h Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - 1h Remaining Estimate - 1h
                1h