On 04/10/2023 19.23, Richard Henderson wrote:
On 10/4/23 03:05, Philippe Mathieu-Daudé wrote:
Hi,
I'm getting a bunch of errors for 'optarg' declared in <unistd.h>:
I thought things like this is why we were trying -Wshadow=local.
I think it's unlikely that we'll be able to prevent all such cases.
Given the broad range of operating systems and libraries that we support in
QEMU, I agree with Richard - it will likely be impossible to enable that
option without =local by default without risking that compilation breaks on
some exotic systems or new versions of various libraries.
Thomas