[
https://issues.apache.org/jira/browse/STDCXX-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Sebor closed STDCXX-165.
-------------------------------
> [gcc 3.4.2/HP-UX 11.11] error on long_double in num_get.cpp
> -----------------------------------------------------------
>
> Key: STDCXX-165
> URL: https://issues.apache.org/jira/browse/STDCXX-165
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build
> Affects Versions: 4.1.3
> Environment: $ uname -mrs && gcc -v
> HP-UX B.11.11 9000/800
> Reading specs from /usr/local/lib/gcc/hppa2.0w-hp-hpux11.11/3.4.2/specs
> Configured with: /scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2/configure
> --enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as
> --without-gnu-ld --with-as=/usr/local/bin/as --with-ld=/usr/ccs/bin/ld
> --with-libiconv-prefix=/usr/local --prefix=/usr/local
> Thread model: posix
> gcc version 3.4.2
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.