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

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


Hi Zack,

On Tue, Mar 5, 2024 at 12:58 AM Zack Weinberg <zack@xxxxxxxxxxxx> 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=


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux