[HP aCC 3.70] unsats on basic_string::replace() member template
---------------------------------------------------------------

                 Key: STDCXX-271
                 URL: http://issues.apache.org/jira/browse/STDCXX-271
             Project: C++ Standard Library
          Issue Type: Bug
          Components: 21. Strings
    Affects Versions: 4.1.2, 4.1.3
         Environment: HP aCC 3.63, 3.70
            Reporter: Martin Sebor
         Assigned To: Martin Sebor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to