This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11410] New: wctype.h should get wint_t from wchar.h?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]