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

Benjamin Mahler commented on MESOS-2664:
----------------------------------------

Another question, not related to C++11, are we able to enable 
[Wswitch-enum|https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html] as a 
warning? Would love to have a compile time warning if we miss any switch cases, 
rather than crashing in the default case at run-time. If we relied on it, we 
wouldn't even need the defaults, but that might not be clear to those reading 
the code.

> Modernize the codebase to C++11
> -------------------------------
>
>                 Key: MESOS-2664
>                 URL: https://issues.apache.org/jira/browse/MESOS-2664
>             Project: Mesos
>          Issue Type: Epic
>          Components: technical debt
>            Reporter: Michael Park
>            Assignee: Michael Park
>              Labels: mesosphere
>
> Since [this 
> commit|https://github.com/apache/mesos/commit/0f5c78fad3423181f7227027eb42d162811514e7],
>  we officially require GCC-4.8+ and Clang-3.5+. This means that we now have 
> full C++11 support and therefore can start to modernize our codebase to be 
> more readable, safer and efficient!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to