[patch #10296] CXX_COMPILE_STDCXX: Add checks for C++20 compiler

anonymous <[email protected]> Wed, 16 Nov 2022 20:28:11 -0500 (EST)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/patch/?10296>

                 Summary: CXX_COMPILE_STDCXX: Add checks for C++20 compiler
                 Project: GNU Autoconf Archive
               Submitter: None
               Submitted: Thu 17 Nov 2022 01:28:09 AM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 17 Nov 2022 01:28:09 AM UTC By: Anonymous
* I'm calling this as `AX_CXX_COMPILE_STDCXX_20([noext])`, just like the C++17
macro.
* Just the same as the other C++ standard version detection macros, but
there's a C++20 standard now.
* I guess the license is the same as `m4/ax_cxx_compile_stdcxx_17.m4`?  I just
copied that and s/17/20/.
* The sources are attached as a patch, they're also up on my github
<https://github.com/palmer-dabbelt/autoconf-archive/commit/42a4d05f263e579dbd5fc5435125847bc6a1d8c9>.

I tested this with my local GCC and it results in `g++ -std=c++20 `, but
that's about all I tried.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 17 Nov 2022 01:28:09 AM UTC  Name:
0001-CXX_COMPILE_STDCXX-Add-checks-for-C-20-compiler.patch  Size: 2KiB   By:
None

<http://savannah.gnu.org/patch/download.php?file_id=53966>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10296>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/