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

Compile error: too many arguments to function 'VWF_RenderSingle' #274

Open
planet36 opened this issue Sep 7, 2023 · 2 comments
Open

Compile error: too many arguments to function 'VWF_RenderSingle' #274

planet36 opened this issue Sep 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@planet36
Copy link

planet36 commented Sep 7, 2023

Describe your bug here. And how to reproduce it.

Trying to compile in a Linux environment with gcc 13.2.1, I get the following error:

src/messaging.c:2394:5: error: too many arguments to function ‘VWF_RenderSingle’
 2394 |     VWF_RenderSingle(TEXTCMD_PARAM(cmd));
      |     ^~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.

There's a conflict in the function signature of VWF_RenderSingle.

What is your build target?

Linux

@planet36 planet36 added the bug Something isn't working label Sep 7, 2023
@impeeza
Copy link

impeeza commented Sep 8, 2023

Sorry buddy, just build on Ubuntu without problem:

image

following the instructions on:

https://github.com/snesrev/zelda3#installing-libraries-on-linuxmacos

@planet36
Copy link
Author

planet36 commented Sep 8, 2023

I had -std= set to c2x when the build failed. When it's c17 or older, it builds fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants