You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2015/04/13 15:03:12 UTC
[jira] [Commented] (MESOS-2550) Mesos doesn't compile with clang
3.6
[ https://issues.apache.org/jira/browse/MESOS-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492376#comment-14492376 ]
Till Toenshoff commented on MESOS-2550:
---------------------------------------
As mentioned out of band, Apple LLVM seems to have those issues patched indeed - very confusing and I wonder why they did not bother trying to get that patch into the OS variant.
> 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
>
> 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
(v6.3.4#6332)