Re: [PATCH] asm-generic: fix -Wtype-limits compiler warnings

From: Qian Cai
Date: Wed Jul 24 2019 - 23:22:19 EST




> On Jul 24, 2019, at 5:49 PM, David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Qian Cai <cai@xxxxxx> wrote:
>
>> I have GCC 8.2.1 which works fine.
>
> But you need to check the minimum version, i.e. 4.6:
>
> #if GCC_VERSION < 40600
>

I did check gcc version 4.1.2 20080704 and it works fine.