uso ewin wrote:
I guess ptrdiff_t should indeed be a long int, but ssize_t should be an int,
same for intptr_t and uintptr_t should be an unsigned int.

gcc 6.3.0 on win32 (32bits):

test.c:9:14: error: '_Generic' selector of type 'int' is not compatible with 
any association
     _Generic((ptrdiff_t)0, void*:0);
              ^

So at least this gcc thinks that ptrdiff_t is of type 'int'.

-- gr


I've just push a patch for that



_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to