public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11410] New: wctype.h should get wint_t from wchar.h?
@ 2010-03-20 20:51 marc dot glisse at normalesup dot org
  2010-03-24 14:00 ` [Bug libc/11410] " drepper at redhat dot com
  2010-04-28 21:35 ` pipping dot elias at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: marc dot glisse at normalesup dot org @ 2010-03-20 20:51 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-30 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11410-131@http.sourceware.org/bugzilla/>
2014-06-30 18:25 ` [Bug libc/11410] wctype.h should get wint_t from wchar.h? fweimer at redhat dot com
2010-03-20 20:51 [Bug libc/11410] New: " marc dot glisse at normalesup dot org
2010-03-24 14:00 ` [Bug libc/11410] " drepper at redhat dot com
2010-04-28 21:35 ` pipping dot elias at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).