autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #7985] Feature additions to AX_CXX_COMPILE_STDCXX_11 macro


From: anonymous
Subject: [patch #7985] Feature additions to AX_CXX_COMPILE_STDCXX_11 macro
Date: Thu, 28 Mar 2013 17:35:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

URL:
  <http://savannah.gnu.org/patch/?7985>

                 Summary: Feature additions to AX_CXX_COMPILE_STDCXX_11 macro
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Thu 28 Mar 2013 05:35:19 PM UTC
                Priority: 3 - Low
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The attached version of ax_cxx_compile_stdcxx_11.m4 has several changes:

The C++11 test code includes the "auto" keyword

AC_LANG_PUSH/POP rather than AC_LANG_ASSERT makes it more robust to use

An optional second argument makes it possible to test for C++11 and return the
result with an AC_DEFINE/AC_SUBST/AM_CONDITIONAL without erroring out if
support is not found.

This new version should be nearly backwards-compatible with the old; the
obvious exception being when compilers which implement a subset of C++11 not
including "auto" are used with codes for which that subset would have been
sufficient.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Mar 2013 05:35:19 PM UTC  Name: ax_cxx_compile_stdcxx_11.m4 
Size: 4kB   By: None

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7985>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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