autoconf
[Top][All Lists]
Advanced

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

Re: configure adds -std=gnu++11 to CXX variable


From: Peter Johansson
Subject: Re: configure adds -std=gnu++11 to CXX variable
Date: Tue, 5 Mar 2024 11:57:06 +1000

Hi Zack,

On Tue, Mar 5, 2024 at 12:58 AM Zack Weinberg <zack@owlfolio.org> wrote:

> On Mon, Mar 4, 2024, at 9:54 AM, Zack Weinberg wrote:
> > Fixing these things is a high priority for Autoconf 2.73 but nobody
> > currently has time to work on it.  If you have time, we would
> > appreciate your working on it -- even just a rough draft of revised
> > test programs would be helpful.
>
>
I'm glad this was already on your radar. I'm happy to give this a go and
changing the test code so it compiles c++20 mode seems like an appropriate
start. I'm unlikely to find time before May though.



> Oh, also, as a workaround, try
>
> ./configure CXX='g++ -std=c++2a' ac_cv_prog_cxx_cxx11='none needed'
>

That made 'none needed' appear in $CXX, which was not popular, but if I set
the cache variable to empty, it works

./configure CXX='g++ -std=c++2a' ac_cv_prog_cxx_cxx11=

Thanks,
Peter


reply via email to

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