|
Boost : |
Subject: Re: [boost] Fwd: [clang] clang-cl expansion of macros
From: degski (degski_at_[hidden])
Date: 2017-04-30 12:34:37
On 30 April 2017 at 14:41, Peter Dimov via Boost <boost_at_[hidden]>
wrote:
> BOOST_MSVC=1900 looks odd; this macro should only be defined when the
> compiler is MSVC.
>
No, don't think so. Remember, both __MSC_VER and __clang__ are defined.
With or without this macro, the result is the same, I tried that.
> Either way, I tried
>
> #include <boost/filesystem.hpp>
>
> int main()
> {
> }
>
This works fine for me as well, I get an executable that does nothing. I
also tried it (for you), even including all the headers (just to rule out
some interaction) in the project concerned (many more), same result, still
compiles. Optimisation at work...
degski
-- "*Ihre sogenannte Religion wirkt bloà wie ein Opiat reizend, betäubend, Schmerzen aus Schwäche stillend.*" - Novalis 1798
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk