Skip to content
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

Fix misc MacVim warnings and treat warnings as errors in CI #1457

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

ychin
Copy link
Member

@ychin ychin commented Nov 5, 2023

In CI, turn on warnings as errors, but ignore deprecated warnings as we are still using NSConnection right now and we won't be fixing that for now. Don't turn on warnings as errors for development (similar to Vim itself) / outside of CI, because it could make it annoying to build MacVim locally and across different Xcode versions.

Fix the misc warnings. A lot of 64/32-bit warnings due to careless casts of NSInteger/NSUInteger.

Also fix up MacVimTests so the waiting for Vim window is more robust when waiting for 2 windows in a row in vim tutor. Otherwise sometimes the tests would randomly fail in CI.

@ychin ychin added Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes. labels Nov 5, 2023
@ychin ychin added this to the Release 179 milestone Nov 5, 2023
@github-actions github-actions bot added the CI Vim upstream label for CI issues label Nov 5, 2023
In CI, turn on warnings as errors, but ignore deprecated warnings as we
are still using NSConnection right now and we won't be fixing that for
now. Don't turn on warnings as errors for development (similar to Vim
itself) / outside of CI, because it could make it annoying to build
MacVim locally and across different Xcode versions.

Fix the misc warnings. A lot of 64/32-bit warnings due to careless casts
of NSInteger/NSUInteger.

Also fix up MacVimTests so the waiting for Vim window is more robust
when waiting for 2 windows in a row in vim tutor. Otherwise sometimes
the tests would randomly fail in CI.
@ychin ychin force-pushed the fix-macvim-warnings branch from cf4e252 to b6f7d7d Compare November 5, 2023 21:42
@ychin ychin merged commit a38e374 into macvim-dev:master Nov 5, 2023
4 checks passed
@ychin ychin deleted the fix-macvim-warnings branch November 5, 2023 23:50
ychin added a commit to ychin/macvim that referenced this pull request Sep 11, 2024
This was introduced by macvim-dev#1457 which was supposed to be a simple compiler
warning cleanup but it introduced a signed integer bug. Fix that here.

Fix macvim-dev#1473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Vim upstream label for CI issues Infrastructure Non-app infrastructure issues, e.g. CI Non User Facing Non-user facing change. These issues do no need to show up in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant