-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile failure with Boost 1.5.3 #318
Comments
Hi @abhinavpunj, Are you sure it's Boost 1.5.3? Did you not perhaps mean Boost 1.53.0. If so, this is really an ancient version of Boost. So, this is just a shot in the dark, but could you maybe try to upgrade your Boost lib? Regards |
@abhinavpunj You should update your boost version to at least 1.55.0. The old version is lack of an overload of Regards |
Sorry yes I did mean Boost 1.53.0. Upgrading the Boost version to 1.59 fixed this issue. Thanks for your help! Maybe adding the minimum required Boost version in Readme (just like you have for hiredis) will be good. |
@abhinavpunj In fact, I was not aware of this problem until you opened this issue. I've updated the doc to mention the version requirement. Thanks for finding this problem, and your suggestion! Regards |
Hi, I'm trying to build this in C++ 11 with Async and Boost, my cmake variables are
cmake -DCMAKE_PREFIX_PATH="$LIBFARM" -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR" -DREDIS_PLUS_PLUS_CXX_STANDARD=11 -DREDIS_PLUS_PLUS_BUILD_ASYNC=libuv -DREDIS_PLUS_PLUS_ASYNC_FUTURE=boost
I was initially getting Boost errors for unused-local_typedefs and deprecated-declarations which I was able to resolve by adding
target_compile_options(${SHARED_LIB} PRIVATE "-Wall" "-W" "-Werror" "-Wno-unused-local-typedefs" "-Wno-unused-variable" "-Wno-deprecated-declarations")
to CMakeLists.txtBut since then I'm getting the following compile error at multiple places.
Is it something to do with some a specific Boost version needed? Would appreciate some tips on fixing this
The text was updated successfully, but these errors were encountered: