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

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

[~mcypark] Hm.. doesn't {{-Wswitch}} capture what we want?

(a) If there's no default, and we missed cases, we get a warning.
(b) For those places in the code where default is handy, we can rely on that 
without enumerating all cases.

If you're interested, let's file a ticket under this one to capture the 
discussion :)

> 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