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

Move variable declarations from header to C file to fix build with GCC 10 #4

Merged
merged 1 commit into from Apr 22, 2020
Merged

Conversation

reinerh
Copy link
Contributor

@reinerh reinerh commented Apr 21, 2020

Not using extern in the header will cause multiple definition errors by the linker.

See also: https://gcc.gnu.org/gcc-10/porting_to.html

@alvinx alvinx merged commit 9d50982 into freegish:master Apr 22, 2020
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.

None yet

2 participants