Re: [Boost-bugs] [Boost C++ Libraries] #7473: clang defines __GNUC__ and confuses the libstdcpp3.hpp configuration header

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7473: clang defines __GNUC__ and confuses the libstdcpp3.hpp configuration header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-29 03:38:07


#7473: clang defines __GNUC__ and confuses the libstdcpp3.hpp configuration header
--------------------------------------------------+-------------------------
  Reporter: philipp.moeller@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment (by michel):

 Clang can work with more recent versions of libstdc++ than gcc-4.2's
 libstdc++
 (though sometimes [[http://clang.llvm.org/cxx_status.html|patches]] are
 needed).
 With those stdlib, we can use C++11 features.

 What is needed here is to use `__GLIBCXX__` to detect the version of
 libstdc++.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7473#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC