Frequently Asked Questions
Cygwin x86_64 won't compile simple examples
g++ -std=c++11 daytime_client.cpp -D__USE_W32_SOCKETS -D_WIN32_WINNT \
I get errors like these
/usr/local/include/boost/asio/error.hpp:87:31: error: ‘__MSABI_LONG’ was not declared in this scope
/usr/local/include/boost/asio/detail/impl/winsock_init.ipp:36:44: error: cannot convert ‘long int*’ to ‘volatile int*’
I used the 32 bit version of cygwin and it worked fine. How do I overcome these errors?
Topic revision: r3 - 29 May 2016 - 16:24:17 - StephenV?