mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Hamon (JIRA)" <>
Subject [jira] [Commented] (MESOS-750) Require compilers that support c++11
Date Mon, 17 Mar 2014 22:08:47 GMT


Dominic Hamon commented on MESOS-750:

The first step is to land a change that gives a clearer error message when trying to compile
C++11 with an unsupported compiler. Shortly afterwards, I'll be wrapping the 4.8-only code
in a macro that will only be defined for clang/g++-4.8 so we can once again support C++11
on older compilers. This will enable us to then switch to requiring C++11 but still supporting
g++-4.4 and up.

Pretty soon we'll start using C++11 language features that are supported on g++ 4.6 and above,
at which point that will become the required compiler. But that's more reasonable than 4.8,
I think.

When g++ 4.8 is more widely available, the 4.8-only code paths will become the only code path.

I hope this satisfies everyones' concerns.

> Require compilers that support c++11
> ------------------------------------
>                 Key: MESOS-750
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Benjamin Mahler
>              Labels: technical_debt
>             Fix For: 0.19.0
> Requiring C++11 support will provide substantial benefits to Mesos.
> Most notably, the lack of lambda support has resulted in a proliferation of continuation
style functions scattered throughout the code. Having lambdas will allow us to reduce this
clutter and simplify the code.
> This will require carefully documenting how to get Mesos compiling on various systems
to make this transition easy.

This message was sent by Atlassian JIRA

View raw message