[ https://issues.apache.org/jira/browse/STDCXX-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-598. ------------------------------- Resolution: Fixed Fix Version/s: 4.2 This is fixed in 4.2, possibly by the patch for STDCXX-104. > [EDG eccp/Solaris 9] error on wcslen() and mbtowc() in wcodecvt.cpp > ------------------------------------------------------------------- > > Key: STDCXX-598 > URL: https://issues.apache.org/jira/browse/STDCXX-598 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: 4.1.3 > Environment: EDG eccp 3.9/Solaris 9 > Reporter: Martin Sebor > Fix For: 4.2 > > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.