Fixing warnings uncovered by Clang 15.0 on macOS 14.7.1.#298
Fixing warnings uncovered by Clang 15.0 on macOS 14.7.1.#298
Conversation
…arning when building on macOS 14.7.1 with Clang 15.0.
|
According to the build output, we have a longer list of enabled warnings in the MPS Xcode project than in our make files. However, copying that list to ll.gmk and doing, e.g. does not produce the build error on Ubuntu 22.04. So something is different about the Clang 15.0 on Ubuntu vs macOS/Xcode. It's a shame, because it would be nice to get an early warning of macOS issues when working on Linux! |
|
Executing proc.review.express.
|
rptb1
left a comment
There was a problem hiding this comment.
Executing proc.review.check.
- Start time 12:37.
- No defects found.
- End time 12:44.
|
Checking: m1: assume.parked in line 162, code then goes on to AVER arena is clamped, which is at face value a different state to parked. The following line AVER(arena->busyTraces == TraceSetEMPTY); then does check that no traces are running, so the arena is parked. But there is a clarity issue here, where we have 2 distinct states and appear to be checking for the wrong one. |
… to review comment <#298 (comment)>.
thejayps
left a comment
There was a problem hiding this comment.
Checking - no defects found after 6 minutes
|
Continuing proc.review.express. |
… to review comment <#298 (comment)>.
|
Executing proc.merge.pull-request.
|
|
Hmm, GitHub didn't close this PR when we merged the changes, resulting in 9fd0577 . During merge I did proc.merge.pull-request section 5 step 6, |
…equest <Ravenbrook/mps#298> GitHub-reference: Ravenbrook/mps#298
Fixing the build errors seen in e.g. this GitHub build output which says
The "added" count variable has been around since Perforce changelist 178798 in 2012, before transforms were released to Configura in MPS 1.110. It does not appear to ever have been used for anything.