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

Jan Schlicht reassigned MESOS-6895:
-----------------------------------

    Assignee: Jan Schlicht

> 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
>            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 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)

Reply via email to