This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: wstoimax Questions


On Wed, 13 Nov 2013, Joel Sherrill wrote:

> But
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/inttypes.h.html
> says inttypes.h shall define imaxdiv_t and wchar_t.

Note that wchar_t is marked as CX, i.e. an extension to ISO C.

> Is this a glibc bug? Or am I missing something?

It appears to be a bug that glibc doesn't, given the appropriate feature 
test macros, define the wchar_t type in this header (it mustn't be defined 
for plain -std=c99 with no feature test macros).  Please file a glibc bug 
report.

-- 
Joseph S. Myers
joseph@codesourcery.com


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