[ 
https://issues.apache.org/jira/browse/MESOS-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin updated MESOS-2550:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Mesos doesn't compile with clang 3.6
> ------------------------------------
>
>                 Key: MESOS-2550
>                 URL: https://issues.apache.org/jira/browse/MESOS-2550
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.22.0
>         Environment: ArchLinux with Clang 3.6
>            Reporter: Cody Maloney
>            Assignee: Cody Maloney
>            Priority: Major
>             Fix For: 0.23.0
>
>
> The bundled libev fails to compile with the error:
> {code}
> ev.c:970:42: error: '_Noreturn' keyword must precede function declarator
>   ecb_inline void ecb_unreachable (void) ecb_noreturn;
>                                          ^~~~~~~~~~~~
>   _Noreturn 
> {code}
> Can be patched by moving the noreturn to earlier in the line / where C++11 
> noreturn attributes go.
> Bundled boost fails with errors like:
> {code}
> ../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/concept_check.hpp:653:11: 
> error: unused typedef
>       'boost_concept_check653' [-Werror,-Wunused-local-typedef]
>           BOOST_CONCEPT_ASSERT((InputIterator<const_iterator>));
>           ^
> {code}
> Can be fixed by adding '-Wno-unused-local-typedef' if we detect clang 3.6



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to