eclipse-score / eclipse-score/baselibs

Migrate to injectable warning features in score_bazel_cpp_toolchains

Open
#519 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
26
Forks
85
Avg merge
2d 13h
Merged PRs (30d)
47

Description

## What

Migrate Baselibs to the newest `score_bazel_cpp_toolchains` and use the injectable warning features introduced in [score_cpp_policies#33](https://github.com/eclipse-score/score_cpp_policies/pull/33) for the GCC and LLVM toolchains.

This centralizes warning policy configuration, keeps both toolchains aligned, and lets Baselibs benefit from shared policy updates.

## Toolchain configuration

Inject selectable warning features with `extra_known_features` and default-enabled warning features with `extra_enabled_features` in each toolchain configuration.

## Acceptance Criteria (DoD)

- [ ] Baselibs uses the newest compatible `score_bazel_cpp_toolchains` version.
- [ ] The GCC toolchain uses the injectable warning features from `score_cpp_policies`.
- [ ] The LLVM toolchain uses the injectable warning features from `score_cpp_policies`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the dependency declaration for score_bazel_cpp_toolchains and the GCC and LLVM toolchain configurations in the repository. Check the newest compatible version and compare each configuration with the injectable warning features from score_cpp_policies; done means both toolchains use the requested features and the acceptance criteria are satisfied.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.