Software
Software copied to clipboard
Re-Introduce Implicit Conversion as Warnings
Description of the task
Post Bazel 8 migration, we had to disable the escalation of warnings in #3459. The issue with the flag was related to the application of the warning on ALL subsequent deps and in particular external deps (see .bazelrc). This is bad because we do not control external repos.
# build --per_file_copt=software/.*,shared/.*,-external/.*@-Wconversion
Thus, the task in this PR is to re-introduce this feature so that we can ensure code quality and prevent accidental implicit casting from occurring within our own code.
Acceptance criteria
- [ ] We check for implicit casting in our code base and not within external repos.