Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
webbrandon opened this issue Apr 14, 2016 · 1 comment
Open

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

webbrandon opened this issue Apr 14, 2016 · 1 comment

Comments

@webbrandon
Copy link

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);
@Myushu
Copy link

Myushu commented Apr 14, 2016

Hi Webbrandon,

I have the same warnings. I don't know if it's a big issue or not.
I just hide warnings with the flag -Wunsupported-friend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants