zaphoyd/websocketpp — Issue #75: endpoint.hpp: too many template arguments
Author: raghumriyer
Created: 2012-02-23 18:16:37+00:00
State: open

Hi,
I'm trying to compile with the visual studio 2010, and I'm getting these error in all the examples.
Can you please let me know, what the issue is about?

echo_server.cpp
1>d:\mse\projects\pcap\zaphoyd-websocketpp-f0365ba\src\endpoint.hpp(113): error C2977: 'websocketpp::role::server::connection' : too many template arguments
1> with
1> [
1> endpoint=websocketpp::endpoint
1> ]
1> d:\mse\projects\pcap\zaphoyd-websocketpp-f0365ba\src\roles/server.hpp(59) : see declaration of 'websocketpp::role::server::connection'
1> with
1> [
1> endpoint=websocketpp::endpoint
1> ]
1> ..\..\..\examples\echo_server\echo_server.cpp(34) : see reference to class template instantiation 'websocketpp::endpoint' being compiled
1> with
1> [
1> role=websocketpp::role::server,
1> socket=websocketpp::socket::plain
1> ]
1>d:\mse\projects\pcap\zaphoyd-websocketpp-f0365ba\src\endpoint.hpp(113): error C2385: ambiguous access of 'connection'
1> could be the 'connection' in base 'websocketpp::role::server >'
1> or could be the 'connection' in base 'websocketpp::socket::plain >'
1>d:\mse\projects\pcap\zaphoyd-websocketpp-f0365ba\src\endpoint.hpp(113): error C2990: 'websocketpp::role::server::connection' : non-class template has already been declared as a class template
1> with
1> [
1> endpoint=websocketpp::endpoint
1> ]
1> d:\mse\projects\pcap\zaphoyd-websocketpp-f0365ba\src\roles/server.hpp(59) : see declaration of 'websocketpp::role::server::connection'
1> with
1> [
1> endpoint=websocketpp::endpoint
1> ]
1>
1>Build FAILED.