Hi, Peter!
I'm trying to build my project on RHEL 7.0 which has GCC 4.8.2 as system compiler. Sadly, but I have to disable Boost.Asio from using Boost.DateTime (with #define BOOST_ASIO_DISABLE_BOOST_DATE_TIME), because otherwise another library is not compiled with the new GCC. After this I've got a lot of errors with WebSocket++, because it uses boost::asio::deadline_timer in its code.
boost::asio::deadline_timer is a timer on top of Boost.DateTime library which is pretty much obsoleted by Boost.Chrono (or std::chrono) when dealing with times. I see that you've made some preparations for this (websocketpp/common/chrono.hpp).
Also note, that another problem on GCC 4.8 is in this code (websocketpp/logger/basic.hpp):
|
|
| #ifdef _WEBSOCKETPP_CPP11_CHRONO_ |
| return os << std::put_time(lt,"%Y-%m-%d %H:%M:%S"); |
| #else // Falls back to strftime, which requires a temporary copy of the string. |
|
AFAIK, std::put_time is implemented only in recent versions of GCC 4.9, and it's not about Chrono library, but IoManip.
--
With best regards,
Max