Boost logo

Boost :

Subject: Re: [boost] [config] Need help with clang config
From: John Maddock (jz.maddock_at_[hidden])
Date: 2017-05-20 07:54:20

> I have always had a difficult problem trying to figure out with which
> version of gcc/libstdc++ a particular version of clang will work. I
> have asked about this on the clang developers mailing list but
> received no answer. If there is any information about this anywhere I
> would surely like to know where it is.

Well.... the answer it appears is trial and error, here's what I have so
far (which is enough to get the tests passing for now):

clang 5:
* No <regex> prior to gcc-5.x
* No thread_local prior to gcc-4.8.x (ABI/linker issues)

Clang 3.x:
* No <future>, <mutex>, <condition_variable> or <chrono> prior to gcc
4.8 (these are all failures to compile <chrono>)

There may be other issues with old clang and newer gcc, but I haven't
tested that combination yet.

Thanks, John.

This email has been checked for viruses by AVG.

Boost list run by bdawes at, gregod at, cpdaniel at, john at