bug-gnulib
[Top][All Lists]
Advanced

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

Re: How can Autoconf help with the transition to stricter compilation de


From: Paul Eggert
Subject: Re: How can Autoconf help with the transition to stricter compilation defaults?
Date: Mon, 14 Nov 2022 10:14:07 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 2022-11-14 04:41, Aaron Ballman wrote:
it's generally a problem when autoconf relies on invalid
language constructs

Autoconf *must* rely on invalid language constructs, if only to test whether the language constructs work. And Clang therefore must be careful about how it diagnoses invalid constructs. Clang shouldn't willy-nilly change the way it reports invalid constructs, as that can break Autoconf.

issues of security
like statically known instances of UB

It's fine to report those; I'm not saying don't report them. All I'm saying is that Clang should be careful about *how* it reports them.

At the very least if there are going to be changes in this area, the Clang developers should notify Autoconf (and presumably other) downstream users of the changes, and provide a supported way to get the old behavior for reporting, and give downstream time to adapt.



reply via email to

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