Boost logo

Boost :

Subject: Re: [boost] Fwd: [clang] clang-cl expansion of macros
From: Peter Dimov (lists_at_[hidden])
Date: 2017-04-30 11:41:25


> For completeness sake, I have the following PP defines:
>
> __clang__
> BOOST_SP_USE_STD_ATOMIC
> BOOST_MSVC=1900
> BOOST_HAS_MS_INT64

BOOST_MSVC=1900 looks odd; this macro should only be defined when the
compiler is MSVC.

Either way, I tried

#include <boost/filesystem.hpp>

int main()
{
}

with the built-in clang/c2 in 2017 (toolset v141_clang_c2) and it compiled
(using boost develop).


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