You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2017/01/09 09:35:59 UTC
[jira] [Created] (MESOS-6895) Loop uses dependent nested names for
friend declaration which isn't supported by clang
Benjamin Bannier created MESOS-6895:
---------------------------------------
Summary: Loop uses dependent nested names for friend declaration which isn't supported by clang
Key: MESOS-6895
URL: https://issues.apache.org/jira/browse/MESOS-6895
Project: Mesos
Issue Type: Bug
Components: libprocess
Affects Versions: 1.2.0
Reporter: Benjamin Bannier
https://reviews.apache.org/r/54358/ ({{bbb4058d60}}) introduced {{ControlFlow}} for {{process::loop}}. Here a dependent nested name specifier is used in a friend declaration which is not supported by clang.
{code}
In file included from ../../../3rdparty/libprocess/src/tests/loop_tests.cpp:20:
/private/tmp/mesos.master/3rdparty/libprocess/include/process/loop.hpp|214 col 32| warning: dependent nested name specifier 'ControlFlow<U>::' for friend class declaration is not supported; turning off access control for 'ControlFlow' [-Wunsupported-friend]
friend class ControlFlow<U>::Continue;
~~~~~~~~~~~~~~~~^
/private/tmp/mesos.master/3rdparty/libprocess/include/process/loop.hpp|216 col 32| warning: dependent nested name specifier 'ControlFlow<U>::' for friend class declaration is not supported; turning off access control for 'ControlFlow' [-Wunsupported-friend]
friend class ControlFlow<U>::Break;
~~~~~~~~~~~~~~~~^
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)