-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)>.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore ... comment below not intended for this pr
"Checking - no defects found after 6 minutes"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking - no defects found after 6 minutes
Continuing proc.review.express. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rptb1 has done exit.pass
… 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, |
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.