Boost logo

Boost :

Subject: Re: [boost] Adding libc++ support to boost.
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-02-17 07:19:22


On 02/10/11 14:27, Christopher Jefferson wrote:
> Hello,
>
> I want to add support for libc++, the c++ standard library attached
> to clang, to boost. Fixes required should not be attached to clang,
> as clang can use various standard libraries. Is there a standard
> way I should add the library, or just add the macro where needed.
>
> The best macro to use for detecting libc++ is
> _LIBCPP_VERSION. Hopefully the changes required will be minimal.
>
Unfortunately, libc++, as of a few weeks ago, was having problems with
a simple hello world program:

  http://llvm.org/bugs/show_bug.cgi?id=8992#c7

A partial solution for linux was proposed here:

http://article.gmane.org/gmane.comp.compilers.clang.devel/13110

However, that wouldn't handle microsoft's standard lib, as indicated
here:

http://article.gmane.org/gmane.comp.compilers.clang.devel/13151

I'd guess Howard would appreciate feedback on how to do solve the
microsoft problem (as well as any other platform) on that thread.

-regards,
Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk