Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.3
-
None
-
EDG eccp 3.9/Solaris 9
-
Compiler Error
Description
stdcxx 4.1.3 fails to build with EDG eccp on Solaris 9 with the errors below:
$ nice gmake BUILDTYPE=11s BUILDDIR=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/ CONFIG=eccp.config
Bad string
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 /amd/devco/sebor/stdcxx-4.1.3/etc/config/eccp.config
Bad string
gmake[1]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
gmake[2]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'
gmake config
gmake[3]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'
configuring for eccp-3.9 on
checking if compiler is sane ok
checking if linker is sane ok
checking if run environment is sane ok
checking system architecture ILP32 big endian
...
eccp -c -I/amd/devco/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/amd/devco/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 /amd/devco/sebor/stdcxx-4.1.3/src/wcodecvt.cpp
"/amd/devco/sebor/stdcxx-4.1.3/src/wcodecvt.cpp", line 226: remark #826-D:
parameter "state" was never referenced
__rw_libc_mbrlen (MBStateT &state,
^
"/amd/devco/sebor/stdcxx-4.1.3/src/wcodecvt.cpp", line 522: error #20:
identifier "wcslen" is undefined
const _RWSTD_SIZE_T nul_off = wcslen (from_next);
^
"/amd/devco/sebor/stdcxx-4.1.3/src/wcodecvt.cpp", line 1576: error #282: the
global scope has no "mbtowc"
if (::mbtowc (0, 0, 0) == 0) {
^
2 errors detected in the compilation of "/amd/devco/sebor/stdcxx-4.1.3/src/wcodecvt.cpp".
gmake[2]: *** [wcodecvt.o] Error 2
gmake[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
gmake[1]: *** [lib] Error 2
gmake[1]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
gmake: *** [libstd] Error 2
Attachments
Issue Links
- is related to
-
STDCXX-104 [Mac OS X 10.2.8] Use of wcscoll and wcslen without checking guards
- Closed