Skip to content

Dependent nested name specifier 'Command<ReplyT>::' #45

@webbrandon

Description

@webbrandon

I am getting the following errors when building on Mac OSX El Capitan 10.11 from master:

.../redox/include/redox/client.hpp:390:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::free();
                                      ~~~~~~~~~~~~~~~~~^
.../redox/include/redox/client.hpp:393:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::processReply(redisReply *r);
                                      ~~~~~~~~~~~~~~~~~^
In file included from .../redox/src/subscriber.cpp:22:
In file included from .../redox/include/redox/subscriber.hpp:23:
.../redox/include/redox/client.hpp:390:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::free();
                                      ~~~~~~~~~~~~~~~~~^
.../redox/include/redox/client.hpp:393:56: warning: dependent nested name specifier 'Command<ReplyT>::' for friend class declaration is not supported; turning off access control for 'Redox' [-Wunsupported-friend]
  template <class ReplyT> friend void Command<ReplyT>::processReply(redisReply *r);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions