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

Tom Tromey <[email protected]> Wed, 29 May 2024 11:33:57 -0600
Newsgroups gmane.comp.sysutils.autoconf.general,gmane.comp.gcc.devel
Message-ID <[email protected]>
>>>>> "Jason" == Jason Merrill <[email protected]> writes:

Jason> Thanks, though I don't think all that code needs to go;
Jason> AC_PROG_CXX_STDCXX_EDITION_TRY still looks useful for a project that
Jason> relies on features from a particular standard.  We just don't want
Jason> AC_PROG_CXX to invoke it.

I didn't read the macro but there's also config/ax_cxx_compile_stdcxx.m4.
gdb uses this to make sure C++17 is available.

Tom