[cfe-dev] clang and boost

Jonathan Sauer jonathan.sauer at gmx.de
Thu Apr 7 11:46:58 PDT 2011


Hello,

> Hm.. interesting. So, if I were to add a __clang__ clause and define my own path there, it would work, but, I do not want to patching boost and carry these patches on, everytime I upgrade. 

Using boost 1.46.1 here. I just compiled the following line successfully with clang 128404:

#include <boost/tr1/tr1/iomanip>

I only got two warnings about #include_next being an extension.

Boost got support for clang in 1.46.1 (including recognizing its C++0x features).


Jonathan





More information about the cfe-dev mailing list