Skip to content

Fix llvm20 compile issue in tuple.hpp#872

Merged
AzothAmmo merged 1 commit intoUSCiLab:masterfrom
virtualsecureplatform:master
Mar 6, 2026
Merged

Fix llvm20 compile issue in tuple.hpp#872
AzothAmmo merged 1 commit intoUSCiLab:masterfrom
virtualsecureplatform:master

Conversation

@nindanaoto
Copy link
Copy Markdown
Contributor

I encountered a compilation issue with my library using cereal when I tried to compile it with clang++-20. GCC is still working fine, but it is not accepted by clang++-20. This PR introduces a minor change that fixes the issue. AFAIK, GCC is accepting this because of the bug.
llvm/llvm-project#94194

Copy link
Copy Markdown
Contributor

@jarzec jarzec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Explicit template specialization seems to be slightly safer and expresses intent better.

@AzothAmmo AzothAmmo merged commit d81e2f7 into USCiLab:master Mar 6, 2026
1 check failed
minyez added a commit to minyez/LibRPA that referenced this pull request Apr 23, 2026
Replace 835 with the merged request 872 for llvm-base compiler.

See USCiLab/cereal#872
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.

3 participants