Skip to content

Fix warning build failures, fix README GitHub Action badge - #1435

Merged
ychin merged 1 commit into
macvim-dev:masterfrom
ychin:fix-strict-and-missing-prototypes-warnings
Oct 5, 2023
Merged

Fix warning build failures, fix README GitHub Action badge#1435
ychin merged 1 commit into
macvim-dev:masterfrom
ychin:fix-strict-and-missing-prototypes-warnings

Conversation

@ychin

@ychin ychin commented Oct 5, 2023

Copy link
Copy Markdown
Member

Upstream Vim has added strict-prototypes and missing-prototypes warnings to CI, which is useful but need to clean up MacVim code to avoid build failures. There should be no more magic extern function declarations from now on as they are quite fragile. Just put them in a prototype header.

Also fix GitHub Action badge on README. For some reason the format has changed and the badge was always reporting we have passed even if CI is failing.

Upstream Vim has added strict-prototypes and missing-prototypes warnings
to CI, which is useful but need to clean up MacVim code to avoid build
failures. There should be no more magic extern function declarations
from now on as they are quite fragile. Just put them in a prototype
header.

Also fix GitHub Action badge on README. For some reason the format has
changed and the badge was always reporting we have passed even if CI is
failing.
@ychin ychin added the Non User Facing Non-user facing change. These issues do no need to show up in release notes. label Oct 5, 2023
@ychin
ychin merged commit efd97fd into macvim-dev:master Oct 5, 2023
@ychin
ychin deleted the fix-strict-and-missing-prototypes-warnings branch October 5, 2023 10:50
@ychin ychin added this to the Release 179 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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