Skip to content

Fix building with old Clang versions#87

Merged
smarr merged 3 commits into
SOM-st:masterfrom
smarr:fix-clang-stdlib-incompatibility
Jun 24, 2026
Merged

Fix building with old Clang versions#87
smarr merged 3 commits into
SOM-st:masterfrom
smarr:fix-clang-stdlib-incompatibility

Conversation

@smarr

@smarr smarr commented Jun 24, 2026

Copy link
Copy Markdown
Member

Currently, when compiling with an old clang, it will just pick the latest stdlib/C++ includes, which breaks, since it doesn’t support newer C++ features.

This PR adds logic to find a compatible set of C++ headers.

Compatibility is roughly determine by the version number.
We need the main includes as well as the architecture specific bits.

It also fixes the GitLab CI setup, to include the local path to find rebench after we change the deployment method.

smarr added 3 commits June 24, 2026 13:19
Currently, when compiling with an old clang, it will just pick the latest stdlib, which breaks, since it doesn’t support newer C++ features.
This tries to find a compatible one.

Compatibility is roughly determine by the version number.
We need the main includes as well as the architecture specific bits.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr force-pushed the fix-clang-stdlib-incompatibility branch from 51875f3 to 81e4654 Compare June 24, 2026 11:19
@smarr smarr merged commit bde39bb into SOM-st:master Jun 24, 2026
19 checks passed
@smarr smarr deleted the fix-clang-stdlib-incompatibility branch June 24, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant