Boost logo

Boost :

Subject: Re: [boost] [clang] How to use CLang for Windows?
From: Chandler Carruth (chandlerc_at_[hidden])
Date: 2013-09-29 18:17:16


On Sun, Sep 29, 2013 at 4:43 PM, Beman Dawes <bdawes_at_[hidden]> wrote:

> On Sun, Sep 29, 2013 at 4:06 PM, Edward Diener <eldiener_at_[hidden]
> >wrote:
>
> >
> > With all due respect, Beman, there is no point of doing this at least for
> > Boost headers once I reverted the fix to the Boost PP code that would
> have
> > allowed clang under Windows to correctly compiler Boost PP code as a
> > strictly conforming C++ standard preprocessor. It fails miserably as the
> > VC++ preprocessor and I am not personally interested particularly in
> > discovering why since the VC++ preprocessor is just badly broken in a
> > number of respects general. To emulate that brokeness cannot be the goal
> of
> > any C++ compiler.
> >
>
> IIUC, they are aiming to support the aspects of VC++ that are required to
> compile and run the libraries shipped with Visual Studio and libraries like
> Boost. I doubt they intend to mimic bugs not required for that purpose, and
> they have stated up front that they intend to support all C++11/14
> features, not just those supported by VC++.
>

Indeed. Boost.PP I think would likely be a prime candidate for explicitly
detecting Clang (even on Windows) and just doing the right thing.


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