Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7671: Error including boost/thread.hpp header on iOS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-10 20:49:01
#7671: Error including boost/thread.hpp header on iOS
------------------------------------------+---------------------------------
Reporter: Dr.Schroers@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------------
Comment (by viboes):
Replying to [comment:6 Wolfram Schroers <Dr.Schroers@â¦>]:
> Replying to [comment:5 viboes]:
> [...]
> > As said before you need to use a std lib compatible with C++11. libc++
is free and works well with clang.
>
> In the default answer of [http://stackoverflow.com/questions/12865226
/in-xcode-4-5-what-is-compiler-default-for-c-standard-library-
and-c-lan?rq=1] this post there is specific code to test for stdlib++ vs.
lib++. The output for me is:
>
> {{{
> Using libc++
> Language mode = gnu++11
> }}}
>
> I am not sure how to proceed in this case, because it looks like I am
already using `libc++`.
Hrrr. I'm using MacOS 10.7.5 and when I compile for C++11 and use libc++ I
don't get any error.
Which version of libc++ are you using? Which version of the compiler?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7671#comment:7> 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