basiliscos / cpp-bredis

Boost::ASIO low-level redis client (connector)
MIT License
147 stars 36 forks source link

Doesn compile on WSL2 (Linux ubuntu gcc-8) #35

Closed giorgiozoppi closed 4 years ago

giorgiozoppi commented 4 years ago

image My current one is 1.65.1. Pretty urgent!

basiliscos commented 4 years ago

It seems you have an some old boost. I'll try to look on weekends.

As the quick fix try to insert enable_if_t alias, like

template< bool B, class T = void >
using enable_if_t = typename enable_if<B,T>::type;
giorgiozoppi commented 4 years ago

Ok please specify that with boost 1.71 compiling works in the docs. Thanks and in case of boost 1.65 or lower doesnt compile. Boost 1.71 is GA afaik.

basiliscos commented 4 years ago

Thank you. The minimum boost version is 1.69, I have mentioned that in the documentation (see https://github.com/basiliscos/cpp-bredis/pull/36 )