[
https://issues.apache.org/jira/browse/STDCXX-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Sebor updated STDCXX-271:
--------------------------------
Priority: Blocker (was: Major)
Bumped up priority to Blocker. Must fix for the next release.
> [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, 3.70
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Blocker
>
> 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.