bug-gnulib
[Top][All Lists]
Advanced

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

Re: lib/malloca.c: warning about [-Wsign-compare]


From: Paul Eggert
Subject: Re: lib/malloca.c: warning about [-Wsign-compare]
Date: Thu, 22 Sep 2022 11:26:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1

On 9/22/22 11:20, Bjarni Ingi Gislason wrote:

CC='clang -Wsign-compare' ./gnulib-tool --test malloca 2>

Oh, please don't use -Wsign-compare. Clang generates too many false alarms with -Wsign-compare, we don't recommend that warning, and Gnulib-using programs generally don't enable that warning when compiling Gnulib code.

If you happen to find a real bug with that warning we'd like to know it. But please don't bother us with the false alarms; they're not worth your time or ours.



reply via email to

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