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

Make gcc10 happy #58

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Make gcc10 happy #58

merged 1 commit into from
Nov 3, 2021

Conversation

greno4ka
Copy link
Contributor

gcc-10 and above flipped a default from -fcommon to -fno-common.
So now GCC will reject multiple definitions of global variables.

gcc-10 and above flipped a default from -fcommon to -fno-common.
So now GCC will reject multiple definitions of global variables.
@mpereira
Copy link
Owner

mpereira commented Nov 3, 2021

Thanks @greno4ka! I'll merge this and move the variable definitions to game.c.

@mpereira mpereira merged commit 4cc3d9c into mpereira:master Nov 3, 2021
mpereira added a commit that referenced this pull request Nov 3, 2021
@mpereira
Copy link
Owner

mpereira commented Nov 3, 2021

Pushed these two additional commits:

Thanks again!

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.

2 participants