Till Toenshoff created MESOS-3030:
-------------------------------------
Summary: Build failure on OS 10.11 using Xcode 7.
Key: MESOS-3030
URL: https://issues.apache.org/jira/browse/MESOS-3030
Project: Mesos
Issue Type: Bug
Environment: OS 10.11 Beta (15A215h), Apple LLVM version 7.0.0
(clang-700.0.57.2)
Reporter: Till Toenshoff
When trying to build Mesos (recent master) on OS X El Capitan (public beta 1)
with apple's clang distribution via Xcode 7 (beta 3) the following warnings
trigger build failures;
h6.Boost: unused-local-typedef
{noformat}
../3rdparty/libprocess/3rdparty/boost-1.53.0/boost/tuple/detail/tuple_basic.hpp:228:31:
error: unused typedef 'cons_element' [-Werror,-Wunused-local-typedef]
typedef typename impl::type cons_element;
{noformat}
h6.CyrusSASL2: deprecated-declarations
{noformat}
distcc[57619] ERROR: compile
/Users/till/.ccache/tmp/authentica.stdout.lobomacpro2.fritz.box.48363.0QJikQ.ii
on localhost failed
../../src/authentication/cram_md5/authenticatee.cpp:75:7: error: 'sasl_dispose'
is deprecated: first deprecated in OS X 10.11
[-Werror,-Wdeprecated-declarations]
sasl_dispose(&connection);
^
/usr/include/sasl/sasl.h:746:13: note: 'sasl_dispose' has been explicitly
marked deprecated here
extern void sasl_dispose(sasl_conn_t **pconn)
__attribute__((availability(macosx,introduced=10.0,deprecated=10.11)));
^
{noformat}
----
A simple workaround is disabling those warnings for now;
{noformat}
export CXXFLAGS="-Wno-unused-local-typedef -Wno-deprecated-declarations"
export CCFLAGS="-Wno-unused-local-typedef -Wno-deprecated-declarations"
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)