Boost logo

Boost :

Subject: Re: [boost] Clang 4.0.0 MPL error in Boost next.hpp and prior.hpp
From: degski (degski_at_[hidden])
Date: 2017-03-27 12:01:01

Just noticed the following, compiling:

#if __cplusplus >= 201103L
    #error This library uses a C++11 compliant compiler
    #error This library will benefit from a C++11 compliant compiler

Compiling this with VC14, update 3, (options, a.o.) /std:c++latest, the
second line is generated as an error. Compiling this with Clang/LLVM
(option a.o.) -std=c++1y results in the first error being produced.

It is this bug

A value of predefined macro __cplusplus is still 199711L - by Barfy
Status : Closed as Deferred

Maybe relevant in the context of this thread?


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