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 2006/02/01 01:24:33 UTC
[jira] Created: (STDCXX-129) [HP aCC] ::wmemcpy not delcared in
[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
[jira] Updated: (STDCXX-129) [HP aCC] ::wmemcpy et al not delcared
in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-129?page=all ]
Martin Sebor updated STDCXX-129:
--------------------------------
Fix Version: 4.2
(was: 4.1.4)
> [HP aCC] ::wmemcpy et al not delcared in <wchar.h>
> --------------------------------------------------
>
> Key: STDCXX-129
> URL: http://issues.apache.org/jira/browse/STDCXX-129
> Project: C++ Standard Library
> Type: Bug
> Components: 21. Strings
> Versions: 4.1.3, 4.1.2
> Environment: HP aCC 3.63
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
> 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
[jira] Resolved: (STDCXX-129) [HP aCC] ::wmemcpy et al not declared
in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-129.
---------------------------------
Resolution: Fixed
Resolved by switching to -AA (see STDCXX-501). The problem still exists when using -Aa (i.e., when -Aa is specified in _CXXOPTS at configuration time, but since that's not the default mode and is only provided for compatibility with legacy code, this issue can be considered fixed.
> [HP aCC] ::wmemcpy et al not declared in <wchar.h>
> --------------------------------------------------
>
> Key: STDCXX-129
> URL: https://issues.apache.org/jira/browse/STDCXX-129
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.2, 4.1.3
> Environment: HP aCC 3.63
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-129) [HP aCC] ::wmemcpy et al not declared
in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-129:
--------------------------------
Summary: [HP aCC] ::wmemcpy et al not declared in <wchar.h> (was: [HP aCC] ::wmemcpy et al not delcared in <wchar.h>)
> [HP aCC] ::wmemcpy et al not declared in <wchar.h>
> --------------------------------------------------
>
> Key: STDCXX-129
> URL: https://issues.apache.org/jira/browse/STDCXX-129
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3, 4.1.2
> Environment: HP aCC 3.63
> Reporter: Martin Sebor
> Assigned To: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-129) [HP aCC] ::wmemcpy not delcared in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-129?page=comments#action_12364753 ]
Martin Sebor commented on STDCXX-129:
-------------------------------------
A few other functions are undeclared as well:
$ cat t.cpp && gmake t
#include <string>
#include <wchar.h>
int main ()
{
wcsstr ((wchar_t*)0, (wchar_t*)0);
wmemcpy (0, 0, 0);
wmemmove (0, 0, 0);
wmemset (0, 0, 0);
}
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 328: "t.cpp", line 6 # Function 'wcsstr' has not been defined yet;
cannot call.
wcsstr ((wchar_t*)0, (wchar_t*)0);
^^^^^^
Error 403: "t.cpp", line 7 # 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);
^^^^^^^
Error 403: "t.cpp", line 8 # Undeclared variable 'wmemmove'. Perhaps 'memmove'
as in "void *memmove(void *,const void *,unsigned long)"
["/usr/include/../include/string.h", line 64] was intended.
wmemmove (0, 0, 0);
^^^^^^^^
Error 403: "t.cpp", line 9 # Undeclared variable 'wmemset'. Perhaps 'memset'
as in "void *memset(void *,int,unsigned long)"
["/usr/include/../include/string.h", line 204] was intended.
wmemset (0, 0, 0);
^^^^^^^
gmake: *** [t.o] Error 2
> [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
> Assignee: 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
[jira] Updated: (STDCXX-129) [HP aCC] ::wmemcpy et al not delcared
in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-129?page=all ]
Martin Sebor updated STDCXX-129:
--------------------------------
Summary: [HP aCC] ::wmemcpy et al not delcared in <wchar.h> (was: [HP aCC] ::wmemcpy not delcared in <wchar.h>)
Version: 4.1.2
> [HP aCC] ::wmemcpy et al not delcared in <wchar.h>
> --------------------------------------------------
>
> Key: STDCXX-129
> URL: http://issues.apache.org/jira/browse/STDCXX-129
> Project: C++ Standard Library
> Type: Bug
> Components: 21. Strings
> Versions: 4.1.3, 4.1.2
> Environment: HP aCC 3.63
> Reporter: Martin Sebor
> Assignee: 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