The Code does not compile in Visual Studio 2013 with Debug configuration.
Steps to reproduce (if the current behaviour is a bug)
Compiling the source code in Visual Studio with an active Debug configuration results in the following error messages:
sio_client\socket.io-client-cpp-6063cb1\sio_client\internal\sio_client_impl.cpp(283): error C3321: initializer-list unexpected in this context
sio_client\socket.io-client-cpp-6063cb1\sio_client\internal\sio_client_impl.cpp(497): error C3321: initializer-list unexpected in this context
The Problem is a missing semicolon at the end of the LOG() define:
if(ec)LOG("ec:"<<ec.message()<<endl){}; should be
if(ec)LOG("ec:"<<ec.message()<<endl);{};
I'm not able to send a pull request because I'm not using GIT.
Therefore it would be great if someone else could test my patch and add it to a pull request.
I am also open for discussion on other solutions.
It would be great if my patch could make it in the next release because I'd prefer to use the library without private modification.
Thanks a lot in advance.
Setup
OS: Windows7
browser:
socket.io version: 1.6.1
Other information (e.g. stacktraces, related issues, suggestions how to fix)
You want to:
Current behaviour
The Code does not compile in Visual Studio 2013 with Debug configuration.
Steps to reproduce (if the current behaviour is a bug)
Compiling the source code in Visual Studio with an active Debug configuration results in the following error messages:
The Problem is a missing semicolon at the end of the LOG() define:
if(ec)LOG("ec:"<<ec.message()<<endl){};
should beif(ec)LOG("ec:"<<ec.message()<<endl);{};
I'm not able to send a pull request because I'm not using GIT. Therefore it would be great if someone else could test my patch and add it to a pull request.
I am also open for discussion on other solutions. It would be great if my patch could make it in the next release because I'd prefer to use the library without private modification.
Thanks a lot in advance.
Setup
Other information (e.g. stacktraces, related issues, suggestions how to fix)
The problem can be fixed by the following patch: