> On 27 Mar 2021, at 08:08, Didier Kryn wrote:
>
> I've been lurking on this list for a while but never contributed in
> any way to the project. Therefore I understand my voice has little weight.
>
> I'm terrified by this campaign of harassment against the person who
> has given the b
20 February 2018 at 14:44, Christophe de Dinechin
> wrote:
>> I wonder why -Wsign-compare only warns when there is no int promotion?
>
> I suspect the correct-but-not-helpful answer is that after integer
> promotion the operands have the same type, and so there's no
>
I wonder why -Wsign-compare only warns when there is no int promotion?
No warning for this, where the result is “surprisingly” false because of int
promotion:
signed char i = (signed char) -3;
unsigned char j = (unsigned char) -3;
printf("i=%x j=%x i==j=%d\n", i, j, i==j);
gcc -Wsign-co