bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 1/1] regex: fix broken clang build


From: Paul Eggert
Subject: Re: [PATCH 1/1] regex: fix broken clang build
Date: Wed, 15 Jun 2022 18:14:46 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 6/14/22 23:51, Jeffrey Walton wrote:
I think you should use __apple_build_version__ to differentiate
between Apple Clang and LLVM Clang.

As near as I can make out, support for -Wvla was added in Clang 2.8, which I hope is old enough that we need not worry about Apple messing with Clang version numbers. If not, someone with access to old Apple releases would have to tell us.

What a mess this stuff is. Maybe it would be simpler to disable all -W options by default under Clang.




reply via email to

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