Compile with -Wint-in-bool-context flag
Open
@lucylq is already working on this.
Since Feb 13, 2025.
module: runtime
triaged
- Dominant language
- Python
- Stars
- 5k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 581
Description
🚀 The feature, motivation and pitch
Follow up to https://github.com/pytorch/executorch/pull/8016
For gcc9, it is failing with int-in-bool-context errors (https://github.com/pytorch/executorch/actions/runs/13123890485/job/36616081625?pr=8016)
For now, I disabled that but we should make sure to clean those errors
Specifically for prod_op.cpp it is multiplying a boolean vector.
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
cc @JacobSzwejbka @dbort
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.