[Bug libc/11410] New: wctype.h should get wint_t from wchar.h?
marc dot glisse at normalesup dot org
sourceware-bugzilla@sourceware.org
Sat Mar 20 20:51:00 GMT 2010
Hello,
currently, wctype.h gets the definition of wint_t as follows:
/* Get wint_t from <stddef.h>. */
# define __need_wint_t
# include <stddef.h>
On the other hand, wchar.h (which also supports inclusion with __need_wint_t)
has a more elaborate strategy that works around gcc versions (and other
compilers) that don't define wint_t (there is also mention of some namespace
issue). Is it possible to change wctype.h to use the following?
/* Get wint_t from <wchar.h>. */
# define __need_wint_t
# include <wchar.h>
--
Summary: wctype.h should get wint_t from wchar.h?
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: marc dot glisse at normalesup dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11410
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list