|
Boost : |
Subject: Re: [boost] Boost and clang under Windows
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-09-29 16:12:32
On Sunday 29 September 2013 20:57:56 Daniel James wrote:
> On 29 September 2013 19:52, Beman Dawes <bdawes_at_[hidden]> wrote:
> > Please do not do that. I had face-to-face meetings this week with Chandler
> > Carruth
> > and others working on Clang for Windows. They are depending on Boost's
> > tests to find bugs in Clang's emulation of Visual C++, and if you work
> > around their bugs it will deprive them of a valuable testing tool.
>
> They should be testing with BOOST_COMPILER_CONFIG set to
> "boost/config/compiler/visualc.hpp". That way BOOST_MSVC and the
> appropriate compatibility macros will be set for them, but we can
> still use BOOST_MSVC to treat Visual C++ differently to clang.
BOOST_MSVC should only be defined for genuine MSVC, not for any pretenders.
That's the whole point of this macro.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk