This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11410] New: wctype.h should get wint_t from wchar.h?
- From: "marc dot glisse at normalesup dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Mar 2010 20:51:01 -0000
- Subject: [Bug libc/11410] New: wctype.h should get wint_t from wchar.h?
- Reply-to: sourceware-bugzilla at sourceware dot org
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.