Skip to content
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

Circumvented Clang's buggy pack indexing expression evaluation #1373

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

trueqbit
Copy link
Collaborator

@trueqbit trueqbit commented Jan 22, 2025

This PR fixes build errors with clang 19.1.0 in all C++ language modes.

Clang 19.1.0 enables pack indexing in all language modes, but has issues returning a value of explicit type size_t from a pack index subscript expression.

Additionally:

  • Disabled parallel build for appveyor environment "clang, C++14". Parallel builds cause appveyor VMs to get stuck.
  • Updated vcpkg environment to "2025.01.13".

@trueqbit trueqbit linked an issue Jan 22, 2025 that may be closed by this pull request
@trueqbit trueqbit merged commit e246862 into dev Jan 22, 2025
3 checks passed
@trueqbit trueqbit deleted the fix_pack_indexing branch January 22, 2025 17:56
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.

The build with clang 19.1.0 fails in c++20 mode.
2 participants