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: 2013-05-10 10:54:33


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

Comment (by boost@…):

 I'm hesitant to reopen because I'm relatively new to boost, but I believe
 this is still a big issue, and will become even more annoying in the
 future if nothing is done. It is frustrating that it is such a hurdle to
 use modern features of the most important C++ library with a modern mature
 wide spread C++ compiler.

 Bumping `__GNUC_MINOR__` has been discussed and discarded by clang-dev
 http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-May/021510.html

 So what about an additional check using `__clang_major__` and
 `__clang_minor__`? This seems only consistent if you choose (for good
 reason) not to use `__GLIBCXX__`. Blaming this to be a bug in clang
 doesn't really help anyone either.

 P.S.:
 Even Jonathan Wakely advises against using `__GXX_EXPERIMENTAL_CXX0X__`

 http://gcc.gnu.org/ml/gcc-help/2011-05/msg00354.html

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7473#comment:6>
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:13 UTC