[Top][All Lists]

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

[patch #8950] Fix AX_CXX_COMPILE_STDCXX for "noext" mode

From: Neil Conway
Subject: [patch #8950] Fix AX_CXX_COMPILE_STDCXX for "noext" mode
Date: Thu, 17 Mar 2016 18:43:49 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0


                 Summary: Fix AX_CXX_COMPILE_STDCXX for "noext" mode
                 Project: GNU Autoconf Archive
            Submitted by: neilconway
            Submitted on: Thu 17 Mar 2016 06:43:48 PM GMT
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



AX_CXX_COMPILE_STDCXX first checks to see if the compiler can build the test
program without any special flags. If the build succeeds, CXX is not modified.
This is incorrect if:

(a) the user requests "noext" mode
(b) the compiler defaults to supporting GNU extensions

(b) is true of some compilers: notably GCC6 defaults to "-std=g++14". The
current behavior is broken even if "noext" isn't specified if the user wants
to enable C++11 features but _not_ C++14 ones.


File Attachments:

Date: Thu 17 Mar 2016 06:43:48 PM GMT  Name:
cxx_compile_stdcxx_noext_gcc6.patch  Size: 2kB   By: neilconway



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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