Boost logo

Boost :

Subject: Re: [boost] [config] Patch for clang.hpp to support clang in Windows using VC++ RTL
From: Daniel James (daniel_at_[hidden])
Date: 2013-10-14 06:26:09

On 14 October 2013 02:52, Edward Diener <eldiener_at_[hidden]> wrote:
> I would have used the BOOST_WORKAROUND macro but clang does not support a
> value which gives a single number for the compiler version so I felt that
> drumming up multiple BOOST_WORKAROUNDs using major/minor/patch version
> numbers was too much of a hack to bother about.

It's not recommended to use Clang version numbers at all:

I suppose using them in combination with checking for _MSC_VER is safe
at the moment, but might not always be.

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