catchorg / catchorg/Catch2

tests/SelfTest/UsageTests/Misc.tests.cpp fails to build with Clang 20

Open
#2,981 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

> I'm getting this same problem on a Gentoo system but with clang 20.1 & libc++ 20.1. It's failing on a test file:
>
> FAILED: tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o
>
> Better to use a pastebin:
>
> https://pastebin.com/fmD0kQsj

_Originally posted by @unhappy-ending in [#2923](https://github.com/catchorg/Catch2/issues/2923#issuecomment-2720193081)_

I have opened another LLVM bug for this issue: https://github.com/llvm/llvm-project/issues/140519

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.