[HP aCC] ::wmemcpy not delcared in <wchar.h>
--------------------------------------------
Key: STDCXX-129
URL: http://issues.apache.org/jira/browse/STDCXX-129
Project: STDCXX
Type: Bug
Components: 21. Strings
Versions: 4.1.3
Environment: HP aCC 3.63
Reporter: Martin Sebor
Assigned to: Martin Sebor
Priority: Critical
Fix For: 4.1.4
The program below fails to compile with HP aCC 3.63 when optimization is on:
$ cat t.cpp && gmake t
#include <string>
#include <wchar.h>
int main ()
{
wmemcpy (0, 0, 0);
}
generating dependencies for t.cpp
aCC -c -I/build/sebor/dev/stdlib/include/ansi -I/usr/include -mt
-D_RWSTD_USE_CONFIG -I/build/sebor/aCC-3.63-12d/include
-I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include
-Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
Error 403: "t.cpp", line 6 # Undeclared variable 'wmemcpy'. Perhaps 'memcpy'
as in "void *memcpy(void *,const void *,unsigned long)"
["/usr/include/../include/string.h", line 195] was intended.
wmemcpy (0, 0, 0);
^^^^^^^
gmake: *** [t.o] Error 2
--
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