feat(bazel): updated score_bazel_cpp_toolchains to 1.0.2; add score_cpp_policies 0.1.0 as dev_dependency; add injectable warning features for gcc warnings in all gcc toolchains and the llvm toolchain - #524
ian-harmon-traton wants to merge 6 commits into
Conversation
…cies 0.1.0 as dev_dependency; add injectable warning features for gcc warnings in all gcc toolchains and the llvm toolchain
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.
Suppressed comments (4)
MODULE.bazel:55
- The new multiline argument is missing the trailing comma used throughout this file, so the checked Starlark formatter will report a difference.
extra_known_features = SCORE_GCC_WARNING_FEATURES_POLICY
MODULE.bazel:46
- This added argument is not in the repository's formatted Starlark form, and the following whitespace-only line is also introduced here. Remove that line and add the trailing comma so
format.checkpasses.
extra_known_features = SCORE_GCC_WARNING_FEATURES_POLICY
MODULE.bazel:64
- The new multiline argument is missing the trailing comma used throughout this file, so the checked Starlark formatter will report a difference.
extra_known_features = SCORE_GCC_WARNING_FEATURES_POLICY
MODULE.bazel:153
- The new multiline argument is missing the trailing comma used throughout this file, so the checked Starlark formatter will report a difference.
extra_known_features = SCORE_GCC_WARNING_FEATURES_POLICY
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ian Harmon (Traton R&D US) <ian.harmon@us.traton.com>
4og
left a comment
There was a problem hiding this comment.
Hi @ian-harmon-traton, thank you for the contribution! I'll check this PR on Monday.
|
Documentation preview for this pull request is available at: |
4og
left a comment
There was a problem hiding this comment.
See my comments.
To fix the formatting issues, simply run bazel run //:format.fix
| target_os = "linux", | ||
| use_default_package = True, | ||
| version = "12.2.0", | ||
| extra_known_features = SCORE_GCC_WARNING_FEATURES_POLICY, |
There was a problem hiding this comment.
An extra_enabled_features needs to be added additionally. And it should list minimal_warnings and warnings_as_errors.
And then this line can be removed:
Line 41 in bed5b98
|
Been busy this week - I'll push the suggested changes ASAP, thank you for the review and comments! |
…tures from llvm toolchains; add all relevant changes to example integration MODULE.bazel
|
Added suggested changes and merged with latest Main branch |
Summary
Addresses the need for migrating to injectable warning features as mentioned in #519
What Changed
Validation
Build passes.
All unit tests passed except:
//score/language/safecpp/aborts_upon_exception:abortsuponexception_toolchain_test FAILED