C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-165

[gcc 3.4.2/HP-UX 11.11] error on long_double in num_get.cpp

    Details

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

      Description

      The num_get.cpp file fails to compile with gcc 3.4.3 on HP-UX 11.11:

      gcc -c -I/house/sebor/stdcxx-4.1.3/include/ansi -D_RWSTD_USE_CONFIG -I/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include -I/house/sebor/stdcxx-4.1.3/include -pedantic -nostdinc++ -O2 -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /house/sebor/stdcxx-4.1.3/src/num_get.cpp
      /house/sebor/stdcxx-4.1.3/src/num_get.cpp: In function `int _rw::_rw_get_num(void*, const char*, int, int, const char*, long unsigned int, const char*, long unsigned int)':
      /house/sebor/stdcxx-4.1.3/src/num_get.cpp:661: error: `long_double' does not name a type
      /house/sebor/stdcxx-4.1.3/src/num_get.cpp:661: error: extra semicolon
      /house/sebor/stdcxx-4.1.3/src/num_get.cpp:664: error: 'union _rw::_rw_get_num(void*, const char*, int, int, const char*, long unsigned int, const char*, long unsigned int)::<anonymous>' has no member named 'words'
      /house/sebor/stdcxx-4.1.3/src/num_get.cpp:697: error: 'union _rw::_rw_get_num(void*, const char*, int, int, const char*, long unsigned int, const char*, long unsigned int)::<anonymous>' has no member named 'words'
      make: *** [num_get.o] Error 1

        Issue Links

          Activity

            People

            • Assignee:
              Martin Sebor
              Reporter:
              Martin Sebor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development