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 02:22:08


#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 viboes):

 I guess that you need to link with libc++ with clang as libstdcpp doesn't
 support c++11 features.

 I'm using this

 {{{
 using clang : 3.2xl : /Users/viboes/clang/build/Debug+Asserts/bin/clang++
 : <cxxflags>"-std=c++11 -stdlib=libc++" <linkflags>"-std=c++11
 -stdlib=libc++" ;

 }}}

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