Skip to content

Fix gcc 16 / C23 empty prototype errors - #325

Closed
jslay88 wants to merge 1 commit into
snesrev:masterfrom
jslay88:fix/gcc16-c23
Closed

jslay88 wants to merge 1 commit into
snesrev:masterfrom
jslay88:fix/gcc16-c23

Conversation

@jslay88

@jslay88 jslay88 commented Sep 3, 2026

Copy link
Copy Markdown

Description

  • C23 treats () as no args, so gcc 16 -Werror dies on VWF_RenderSingle and ppu_init callers
  • Compile as gnu17 and match the real signatures

Will this Pull Request break anything?

No. Game behavior unchanged.

Suggested Testing Steps

  • make -j$(nproc) zelda3 on gcc 16

C23 treats () as no args, so VWF_RenderSingle and ppu_init callers
were rejected. Compile as gnu17 and match the real signatures.
@jslay88

jslay88 commented Sep 3, 2026

Copy link
Copy Markdown
Author

Opened this against the wrong repo. Meant for my fork.

@jslay88 jslay88 closed this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant