This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: wstoimax Questions
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Wed, 13 Nov 2013 21:03:49 +0000
- Subject: Re: wstoimax Questions
- Authentication-results: sourceware.org; auth=none
- References: <5283E16E dot 5000703 at oarcorp dot com>
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