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

[EDG eccp 3.9/Linux] _RWSTD_SIZE_MAX undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • Build and Installation
    • None
    • EDG eccp 3.9/Fedora Core 6

    • Compiler Error

    Description

      stdcxx-4.1.3 fails to build with EDG eccp 3.9 on Fedora Core 6:

      $ nice make BUILDTYPE=11s BUILDDIR=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s CONFIG=eccp.config
      creating BUILDDIR=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s
      generating /build/sebor/stdcxx-4.1.3-eccp-3.9-11s/makefile.in from /home/sebor/stdcxx-4.1.3/etc/config/eccp.config
      make[1]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
      make[2]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'
      make config
      make[3]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'

      configuring for eccp-3.9 on linux-2.6.18-1.2798.fc6-x86_64

      checking if compiler is sane ok
      checking if linker is sane ok
      checking if run environment is sane ok
      checking system architecture ILP32 little endian
      ...
      make[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
      make[2]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
      eccp -c -I/home/sebor/stdcxx-4.1.3/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include -I/home/sebor/stdcxx-4.1.3/include -A -x --template_directory=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /home/sebor/stdcxx-4.1.3/src/assert.cpp
      eccp -c -I/home/sebor/stdcxx-4.1.3/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include -I/home/sebor/stdcxx-4.1.3/include -A -x --template_directory=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /home/sebor/stdcxx-4.1.3/src/bitset.cpp
      "/home/sebor/stdcxx-4.1.3/include/rw/_allocator.h", line 155: error #20:
      identifier "_RWSTD_SIZE_MAX" is undefined
      return size_type (_RWSTD_SIZE_MAX) / sizeof (value_type)
      ^

      "/home/sebor/stdcxx-4.1.3/include/rw/_allocator.h", line 246: error #20:
      identifier "_RWSTD_SIZE_MAX" is undefined
      return size_type (_RWSTD_SIZE_MAX) / sizeof (value_type)
      ^

      "/home/sebor/stdcxx-4.1.3/include/string", line 138: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_STATIC_CONST (size_type, npos = size_type (_RWSTD_SIZE_MAX));
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 87: error #20: identifier
      "_RWSTD_CHAR_BIT" is undefined
      enum

      { _C_elembits = _RWSTD_CHAR_BIT * sizeof (unsigned long) }

      ;
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 199: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 233: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 246: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 264: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 277: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 295: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 101: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      __n & (_RWSTD_SIZE_MAX >> ((_Size > _C_elembits ? 0 :
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 266: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _C_from_char (__str, _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 279: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _C_from_char (__str, _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 297: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _C_from_char (__str, _RWSTD_SIZE_MAX,
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 375: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_MAX >> (_C_elembits - _Size % _C_elembits) % _C_elembits;
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 515: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _C_bits [0] = _RWSTD_SIZE_MAX;
      ^

      "/home/sebor/stdcxx-4.1.3/include/bitset", line 559: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      _RWSTD_SIZE_MAX >> (_C_elembits - _Size % _C_elembits) % _C_elembits;
      ^

      "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 80: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      if (_RWSTD_SIZE_MAX == slen)
      ^

      "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 136: error #20: identifier
      "_RWSTD_SIZE_MAX" is undefined
      if (_RWSTD_SIZE_MAX == slen)
      ^

      "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 230: error #20: identifier
      "_RWSTD_CHAR_BIT" is undefined
      const _RWSTD_SIZE_T wordbits = sizeof *bits * _RWSTD_CHAR_BIT;
      ^

      "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 269: error #20: identifier
      "_RWSTD_CHAR_BIT" is undefined
      const _RWSTD_SIZE_T wordbits = sizeof *bits * _RWSTD_CHAR_BIT;
      ^

      21 errors detected in the compilation of "/home/sebor/stdcxx-4.1.3/src/bitset.cpp".
      make[2]: *** [bitset.o] Error 2
      make[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
      make[1]: *** [lib] Error 2
      make[1]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
      make: *** [libstd] Error 2

      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: