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