-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore: Fix all clang build warnings #4475
Conversation
Also add `-Werror` to clang build in CI. Fixes #4449
@chakaz what are the changes in helio? |
Without which we can't enable |
@@ -1807,7 +1807,7 @@ void DestroyGroup(facade::CmdArgParser* parser, Transaction* tx, SinkReplyBuilde | |||
if (parser->HasNext()) | |||
return builder->SendError(UnknownSubCmd("DESTROY", "XGROUP")); | |||
|
|||
auto cb = [&](Transaction* t, EngineShard* shard) { | |||
auto cb = [&, &key = key, &gname = gname](Transaction* t, EngineShard* shard) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pfff captured structure bindings requiring c++20 extension to compile without warning pre C++20 😱
@adiholden we have an OK from @romange 🥳 |
she is away, I accepted it 😄 |
Also add
-Werror
to clang build in CI.Fixes #4449