[PATCH] Add uchar.h

Dave Korn dave.korn.cygwin@googlemail.com
Sat Apr 4 12:17:00 GMT 2009


Corinna Vinschen wrote:
> On Apr  3 23:49, Dave Korn wrote:

>> http://www.open-std.org/jtc1/sc22/WG14/www/projects#19769
>>
>> TR 19769: New character types in C

> Thank you, I read it now.  Apart from thinking that it's a tad bit early
> to introduce this header, 

  I thought so too, but since there's a draft spec, and since there are
starting to spring up autoconf checks for this header, I didn't see why not to
offer it.

> I also think this would better fit into newlib.

  I'm not sure.  My reasoning was that since we override newlib's types system
by providing our own stdint.h, it made sense to provide our own uchar.h as well.

> Btw, the functionality is quite easy to hack.  If this actually
> becomes a standard, we can very quickly introduce the header *and* the
> implementation.

  Heh, I didn't even read the function descriptions, I literally just skimmed
the document and blindly copypasta'd the prototypes.

    cheers,
      DaveK



More information about the Cygwin-patches mailing list