eclipse-score / eclipse-score/communication

Improvement: Run C++ tests with the hardned version of the standard library (libc++)

Open
#789 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
62
Forks
97
Avg merge
1d 1h
Merged PRs (30d)
72

Description

### What

A lot of functions of the C++ standard library have preconditions in the form of "Requires:" clause. If such requirements are not fulfilled, that is undefined behavior.
However, standard libraries provide modes that are not enabled by default that allow to detect when some of these requirements are violated.

### How

_No response_

### Estimates for realization

_No response_

### Category

- [ ] Affects Detailed Design

### Requirements / Architecture

- [x] Requirements / Architecture are not affected by this change?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating the C++ test and build configuration, then identify how to enable libc++'s hardened standard-library checks. Done means the C++ tests run with that mode enabled and violations are detected; verify the resulting test run.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.