You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.23.0 does not build with AppleClang 15: a lambda captures a structured binding #228
v0.23.0 does not build with AppleClang 15 (Xcode 15.4), the default compiler of GitHub's macos-14 runner. src/app/AnalyzerApp.cpp:1090 captures a structured binding in a lambda, a C++20 feature that AppleClang supports only from version 16. This CI does not catch it, because macos-latest has a newer Xcode.
/Users/runner/work/coretrace/coretrace/build/_deps/stack_analyzer-src/src/app/AnalyzerApp.cpp:1090:66: error: reference to local binding 'wrapper' declared in enclosing function 'analyzeWithSharedModuleLoading'
[&](const auto& pair) { return wrapper.pairs.count(pair) == 0; });
^
/Users/runner/work/coretrace/coretrace/build/_deps/stack_analyzer-src/src/app/AnalyzerApp.cpp:1079:43: note: 'wrapper' declared here
for (const auto& [symbol, wrapper] :
The capture comes from 5010817 ("determinism and length pairs follow calls into other files"), after v0.22.0, which still builds there.
It is the only one. Compiling the 51 translation units of v0.23.0 with -Wpre-c++20-compat reports a single "captured structured bindings" warning, at that line.
Activity
ci: build on macos-15 with Xcode 16.0 before macos-14 is retired (#258)