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

Build of src/bitset.cpp fails due to undeclared macro in include/rw/_strref.h

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      When trying to build on Mac OS X 10.2.8 (GCC 3.1), a compile failure occurs

      gcc -c -I/Volumes/Orion/Work/stdcxx/include/ansi -D_RWSTD_USE_CONFIG -I/Users/blackaw/Documents/Work/stdcxx//include -I/Volumes/Orion/Work/stdcxx/include -pedantic -nostdinc++ -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /Volumes/Orion/Work/stdcxx/src/bitset.cpp
      In file included from /Volumes/Orion/Work/stdcxx/include/rw/_strref.h:31,
      from /Volumes/Orion/Work/stdcxx/include/string:36,
      from /Volumes/Orion/Work/stdcxx/include/bitset:27,
      from /Volumes/Orion/Work/stdcxx/src/bitset.cpp:24:
      /Volumes/Orion/Work/stdcxx/include/rw/_traits.h: In static member function
      `static int std::char_traits<wchar_t>::eof()':
      /Volumes/Orion/Work/stdcxx/include/rw/_traits.h:337: `_RWSTD_WEOF' undeclared
      (first use this function)
      /Volumes/Orion/Work/stdcxx/include/rw/_traits.h:337: (Each undeclared identifier is reported only once for each function it appears in.)
      make[2]: *** [bitset.o] Error 1
      make[1]: *** [lib] Error 2
      make: *** [libstd] Error 2

      A related warning that occurrs during configuration is
      In file included from /Volumes/Orion/Work/stdcxx/src/wcodecvt.cpp:42:
      /Volumes/Orion/Work/stdcxx/include/ansi/wchar.h:192:33: ../include/wchar.h: No such file or directory

      Configure.h and output from make process available upon request.

      (Initially reported to stdcxx-dev list in http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200601.mbox/%3c43BC0173.8000009@roguewave.com%3e )

      Attachments

        Issue Links

          Activity

            People

              ablack-rw Andrew Black
              ablack-rw Andrew Black
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: