Skip to content

Fix server build with Clang in C++17 mode - #986

Merged
0xShug0 merged 1 commit into
mainfrom
fix/984-clang-cxx17-capture
Oct 19, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
fix/984-clang-cxx17-capture

Conversation

@0xShug0

@0xShug0 0xShug0 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

Pass the exec-plan option value as a lambda parameter instead of capturing a structured binding, which is not supported in C++17. Parsing, error handling, and memory-accounting behavior are unchanged.

Validation

  • Reproduced the compilation failure in the actual server translation unit using Clang with -std=c++17 -pedantic-errors and the Debug compilation database.
  • The same compilation check passes after the fix.
  • git diff --check passes.

Closes #984.

@0xShug0
0xShug0 merged commit 837f6c1 into main Oct 19, 2026
11 checks passed
@0xShug0
0xShug0 deleted the fix/984-clang-cxx17-capture branch October 19, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: audiocpp_server fails to build with Clang in C++17 mode (regression from #964)

1 participant