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:45:58 UTC
[jira] [Updated] (MESOS-6895) Loop uses dependent nested names for
friend declaration which isn't supported by recent clang
[ https://issues.apache.org/jira/browse/MESOS-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bannier updated MESOS-6895:
------------------------------------
Description:
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 recent 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}
was:
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}
Summary: Loop uses dependent nested names for friend declaration which isn't supported by recent clang (was: Loop uses dependent nested names for friend declaration which isn't supported by clang)
> Loop uses dependent nested names for friend declaration which isn't supported by recent 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
> Assignee: Jan Schlicht
>
> 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 recent 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)