Dave Korn wrote: > Dave Korn wrote: > >> First attempt (attached) didn't go so well. When building libgcc2, I get >> an ICE in the preprocessor, here: > >> As far as I can tell, CHAR16_TYPE is: >> >> (gdb) x/s 0x1fdb0f6 0x1fdb0f6 <__FUNCTION__.59453+167>: "unsigned >> short" (gdb) >> >> Is this perhaps related to the way all the short, long and longlong types >> in cygwin-stdint.h omit "int"? > > Answering my own question: no, it's not. > > char16_type_node exists, and looks like a valid type declaration to me, but
s/type declaration/identifier node/ > for some reason identifier_global_value() on it returns NULL. ... and this is presumably because it should have /already/ been declared somehow. Does the implementation perhaps implicitly expect us to have provided char16/32_t? (Cygwin is a little backward in unicode support!) I'll try hacking up a quick "uchar.h" and see if that helps. cheers, DaveK