Boost logo

Boost :

Subject: Re: [boost] [TR1] clang patch
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-07-22 12:51:14


> The attached patch fixes this by introducing a special case for clang.
>
> This fixes all but eight tr1-tests for clang trunk.
>
> Okay to commit?

>I don't understand why these tests are based on the compiler rather
>than the standard library?

They should be based on the std lib - but it's a circular dependency, we
can't #include a std lib header to find out which lib it is, until we've
figured where it is - for which we need to know what it is :(

So the code makes the best guess it can based on the std C library and the
compiler.

Hope this makes sense, John.


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