[ 
https://issues.apache.org/jira/browse/MESOS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131976#comment-14131976
 ] 

Benjamin Mahler commented on MESOS-750:
---------------------------------------

That sounds good, I'm more thinking about the case where a developer decides to 
write some code, and they're using, say, gcc 4.8.x.

Since we've worked backwards from gcc 4.4 to the configure script, they won't 
know whether they used something unsupported in 4.4. Reviewbot would be a nice 
way to catch it, but I don't think there are any gcc 4.4 apache jenkins slaves 
currently. =/

We also have some legacy stuff that deals with specific older compiler 
versions: 
https://github.com/apache/mesos/blob/0.20.0/src/slave/constants.hpp#L31

Would we be bumping the minimum compiler version frequently?

> Require compilers that support c++11
> ------------------------------------
>
>                 Key: MESOS-750
>                 URL: https://issues.apache.org/jira/browse/MESOS-750
>             Project: Mesos
>          Issue Type: Improvement
>          Components: technical debt
>            Reporter: Benjamin Mahler
>            Assignee: Dominic Hamon
>             Fix For: 0.21.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
(v6.3.4#6332)

Reply via email to