[PATCH] CMake/Autoconf : perform a sanity check on the compiler support for C++11

Arnaud A. de Grandmaison arnaud.adegm at gmail.com
Wed Nov 27 03:20:20 PST 2013


On 11/27/2013 11:54 AM, Tim Northover wrote:
>> The logical follow-up to this patch would be to make the sanity check
>> unconditionnal once we have decided to switch to C++11. Until then, the
>> checks can be validated in the different environments and tuned accordingly.
> Shouldn't we do that now, at least with a warning rather than an error?

No strong opinion there.

We definitely could, but a warning may very well go unnoticed at the
user's place. And it leaves open the question of when the warning should
turn into an error : at some point a developer will use a feature and
not turn the warning to an error.
Beside the decision to default to c++11 **now** has not reached
consensus afaik, although we know it will happen sometime soon.

> Cheers.
>
> Tim.


-- 
Arnaud A. de Grandmaison




More information about the llvm-commits mailing list