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

Compilation error in babyxrcmain.c #1

Open
Keith-S-Thompson opened this issue Jul 18, 2023 · 0 comments
Open

Compilation error in babyxrcmain.c #1

Keith-S-Thompson opened this issue Jul 18, 2023 · 0 comments

Comments

@Keith-S-Thompson
Copy link

When I compile babyxrcmain.c, I get:

$ gcc -c -std=c17 -pedantic-errors babyxrcmain.c 
babyxrcmain.c:131:2: error: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
  131 | };
      |  ^
babyxrcmain.c:317:2: error: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
  317 | };
      |  ^

I suggest updating compileme.txt so it doesn't suggest compiling with no options (gcc is quite lax by default).

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

No branches or pull requests

1 participant