Is your feature request related to a problem? Please describe.
It's great to see that coroutine support is added to redis-plus-plus. For my project, I would like to start using this as alternative to async redis.
When using clang from a debian devcontainer, I encounter build errors on #include <coroutine> in co_redis.h & co_redis_cluster. This is to be expected, since co-routines are still considered experimental forclang. Adapting the include to#include <experimental/coroutine>` solves the build issue.
Is your feature request related to a problem? Please describe. It's great to see that coroutine support is added to redis-plus-plus. For my project, I would like to start using this as alternative to async redis.
When using
clang
from adebian
devcontainer, I encounter build errors on#include <coroutine>
inco_redis.h
&co_redis_cluster. This is to be expected, since co-routines are still considered experimental for
clang. Adapting the include to
#include <experimental/coroutine>` solves the build issue.CMAKE settings used:
Describe the solution you'd like Please support Redis++ coroutines for
clang
Describe alternatives you've considered Switching compilers is of course an option, but for other reasons we are defaulting to
clang
Additional context A fix that supports both
clang
andgcc
:Replace
#include <coroutine>
by