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

Compiling requires -fcommon flag on GCC v10+ #59

Open
austintwang opened this issue Mar 15, 2024 · 1 comment
Open

Compiling requires -fcommon flag on GCC v10+ #59

austintwang opened this issue Mar 15, 2024 · 1 comment

Comments

@austintwang
Copy link

GCC 10 and newer defaults to -fno-common behavior, which results in multiple definition errors.
https://gcc.gnu.org/gcc-10/porting_to.html

Would be good to update the makefile or modify the header declarations to use extern

@austintwang
Copy link
Author

A temporary workaround for building RASQUAL is to add -fcommon to the CFLAGS envvar.

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