This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42092] New: wcslen returns bad length when use -fshort-wchar
- From: "prodotahunter at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2009 15:27:15 -0000
- Subject: [Bug c++/42092] New: wcslen returns bad length when use -fshort-wchar
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
i use -fshort-wchar option for ggc to make wchar_t 16bit
but when i use wcslen - it returns incorrect values
i think problem in libraries, because they are same(like for 32bit wchar_t with
-fshort-wchar)
--
Summary: wcslen returns bad length when use -fshort-wchar
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: prodotahunter at gmail dot com
GCC build triplet: same
GCC host triplet: same
GCC target triplet: same
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42092