[PATCH] include _mingw.h in stddef.h

Ross Ridge rridge@csclub.uwaterloo.ca
Fri Sep 18 16:04:00 GMT 2009


Ross Ridge writes:
>If support is added to GCC for these Microsoft types, I think it should
>be as real types.  That would make the types fully compatibile with MSC.

Kai Tietz writes:
>I agree that it would be best to have here builtin macros for those
>type names. The builtin types aren't usable here, as they would be
>typedefs and so not combinable with signed/unsigned.

No, I'm saying that if anything is done, they should be made reserved
words and synonymous with char, short, int and long long as appropriate,
not typedefs or macros.  That's what's necessary for a fully compatible
implementation.  Otherwise the macros are just a hack, and having the
user do -D__int8=char, if that's what they want, is just as good of hack
as anything else.

					Ross Ridge



More information about the Gcc-patches mailing list