You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/07/07 23:31:04 UTC
[jira] Closed: (STDCXX-271) [HP aCC 3.70] unsats on
basic_string::replace() member template
[ https://issues.apache.org/jira/browse/STDCXX-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-271.
-------------------------------
Resolution: Fixed
Nighlty aCC builds indicate that the unsats have been resolved.
> [HP aCC 3.70] unsats on basic_string::replace() member template
> ---------------------------------------------------------------
>
> Key: STDCXX-271
> URL: https://issues.apache.org/jira/browse/STDCXX-271
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3, 4.1.2
> Environment: HP aCC 3.63 through 3.73
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Blocker
> Fix For: 4.2
>
>
> The program below fails to link with HP aCC 3.70:
> $ cat t.cpp && nice gmake t
> #include <string>
> int main ()
> {
> const char c = '\0';
> std::wstring s (&c, &c);
> s.append (&c, &c);
> s.assign (&c, &c);
> s.insert (s.begin (), &c, &c);
> s.replace (s.begin (), s.end (), &c, &c);
> }
> aCC -c -I/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/aCC-3.70-11d/include -I/amd/devco/sebor/dev/stdlib/examples/include -Aa +nostl -g +d +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
> aCC t.o -o t -Aa +nostl -Wl,+s -Wl,+vnocompatwarnings -L/build/sebor/aCC-3.70-11d/lib -L/build/sebor/aCC-3.70-11d/lib -lstd11d -lm
> /usr/ccs/bin/ld: Unsatisfied symbols:
> std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>::replace<const char *>(__rw::__rw_debug_iter<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>,wchar_t *,wchar_t *>,__rw::__rw_debug_iter<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>,wchar_t *,wchar_t *>,const char *,const char *,void *) (first referenced in t.o) (code)
> gmake: *** [t] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.