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/01/25 22:30:09 UTC
[jira] Created: (STDCXX-125) [aCC 3.63/HP-UX 11.23] wctob
undeclared in
[aCC 3.63/HP-UX 11.23] wctob undeclared in <wchar.h>
----------------------------------------------------
Key: STDCXX-125
URL: http://issues.apache.org/jira/browse/STDCXX-125
Project: STDCXX
Type: Bug
Components: 21. Strings
Versions: 4.1.3
Environment: aCC 3.63 on HP-UX 11.23/PA
Reporter: Martin Sebor
Fix For: 4.1.2
The program below fails to compile with aCC 3.63 on HP-UX 11.23 even though it compiles fine with the native library.
$ cat t.cpp && uname -sr && aCC -V && aCC -AA t.cpp && gmake t
#include <wchar.h>
int main ()
{
wctob (0);
std::wctob (0);
}
HP-UX B.11.23
aCC: HP ANSI C++ B3910B A.03.63
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/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
Error 403: "t.cpp", line 5 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
181] was intended.
wctob (0);
^^^^^
Error 403: "t.cpp", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
181] was intended.
std::wctob (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-125) [aCC 3.63/HP-UX 11.23] wctob
undeclared in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-125.
---------------------------------
Resolution: Fixed
A fix was committed at rev 554275. In addition, I suspect this is only an issue with -AP or -Aa (i.e., without -AA) and thus not a problem rthanks to STDCXX-501. Resolving now, will close after a regression test has been added and verified.
> [aCC 3.63/HP-UX 11.23] wctob undeclared in <wchar.h>
> ----------------------------------------------------
>
> Key: STDCXX-125
> URL: https://issues.apache.org/jira/browse/STDCXX-125
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3
> Environment: aCC 3.63 on HP-UX 11.23/PA
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2
>
>
> The program below fails to compile with aCC 3.63 on HP-UX 11.23 even though it compiles fine with the native library.
> $ cat t.cpp && uname -sr && aCC -V && aCC -AA t.cpp && gmake t
> #include <wchar.h>
> int main ()
> {
> wctob (0);
> std::wctob (0);
> }
> HP-UX B.11.23
> aCC: HP ANSI C++ B3910B A.03.63
> 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/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
> Error 403: "t.cpp", line 5 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> wctob (0);
> ^^^^^
> Error 403: "t.cpp", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> std::wctob (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-125) [aCC 3.63/HP-UX 11.23] wctob
undeclared in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-125:
--------------------------------
Severity: Compiler Error
Fix Version/s: (was: 4.1.2)
4.2
Corrected Fix Version(s).
> [aCC 3.63/HP-UX 11.23] wctob undeclared in <wchar.h>
> ----------------------------------------------------
>
> Key: STDCXX-125
> URL: https://issues.apache.org/jira/browse/STDCXX-125
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3
> Environment: aCC 3.63 on HP-UX 11.23/PA
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2
>
>
> The program below fails to compile with aCC 3.63 on HP-UX 11.23 even though it compiles fine with the native library.
> $ cat t.cpp && uname -sr && aCC -V && aCC -AA t.cpp && gmake t
> #include <wchar.h>
> int main ()
> {
> wctob (0);
> std::wctob (0);
> }
> HP-UX B.11.23
> aCC: HP ANSI C++ B3910B A.03.63
> 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/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
> Error 403: "t.cpp", line 5 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> wctob (0);
> ^^^^^
> Error 403: "t.cpp", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> std::wctob (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] Assigned: (STDCXX-125) [aCC 3.63/HP-UX 11.23] wctob
undeclared in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor reassigned STDCXX-125:
-----------------------------------
Assignee: Martin Sebor
> [aCC 3.63/HP-UX 11.23] wctob undeclared in <wchar.h>
> ----------------------------------------------------
>
> Key: STDCXX-125
> URL: https://issues.apache.org/jira/browse/STDCXX-125
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3
> Environment: aCC 3.63 on HP-UX 11.23/PA
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.1.2
>
>
> The program below fails to compile with aCC 3.63 on HP-UX 11.23 even though it compiles fine with the native library.
> $ cat t.cpp && uname -sr && aCC -V && aCC -AA t.cpp && gmake t
> #include <wchar.h>
> int main ()
> {
> wctob (0);
> std::wctob (0);
> }
> HP-UX B.11.23
> aCC: HP ANSI C++ B3910B A.03.63
> 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/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
> Error 403: "t.cpp", line 5 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> wctob (0);
> ^^^^^
> Error 403: "t.cpp", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> std::wctob (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-125) [aCC 3.63/HP-UX 11.23] wctob
undeclared in
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510947 ]
Martin Sebor commented on STDCXX-125:
-------------------------------------
Note that with issue 456 now in DR status it's now unspecified whether wctob() is also declared in namespace std in addition to being declared in the global namespace (where is must still be declared): http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#456
> [aCC 3.63/HP-UX 11.23] wctob undeclared in <wchar.h>
> ----------------------------------------------------
>
> Key: STDCXX-125
> URL: https://issues.apache.org/jira/browse/STDCXX-125
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 21. Strings
> Affects Versions: 4.1.3
> Environment: aCC 3.63 on HP-UX 11.23/PA
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.1.2
>
>
> The program below fails to compile with aCC 3.63 on HP-UX 11.23 even though it compiles fine with the native library.
> $ cat t.cpp && uname -sr && aCC -V && aCC -AA t.cpp && gmake t
> #include <wchar.h>
> int main ()
> {
> wctob (0);
> std::wctob (0);
> }
> HP-UX B.11.23
> aCC: HP ANSI C++ B3910B A.03.63
> 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/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -Aa +nostl +O2 +w +W392 +W655 +W684 +W818 +W819 +W849 t.cpp
> Error 403: "t.cpp", line 5 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> wctob (0);
> ^^^^^
> Error 403: "t.cpp", line 6 # Undeclared variable 'wctob'. Perhaps 'wctomb' as
> in "int wctomb(char *,wchar_t)" ["/usr/include/../include/stdlib.h", line
> 181] was intended.
> std::wctob (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.