tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Many new errors on RPi because of ssize_t incompatibl


From: grischka
Subject: Re: [Tinycc-devel] Many new errors on RPi because of ssize_t incompatible redefinition
Date: Tue, 25 Jul 2017 19:11:50 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]