-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Building fails with GCC 10 #162
Comments
Same problem here, no idea what the fix is, aside from downgrading compilers. |
Im having this issue with ubuntu 20.10, not sure what to set in build.ninja to make it use gcc-8 though |
See the changes for |
The problem is due to all the global variables defined in the The header should declare them as Or the definitions in the header can be decorated with It's better to just fix the code to be correct C. |
There's already a pull request to fix this, somebody just needs to merge it: #185 |
Building on Arch Linux with GCC 10.1.0 fails due to compiler and linker errors.
Following the compilation instructions from README.md, ninja produces the following output before failing:
gcc10_build.log
I was able to fix some of these errors by including missing libraries in the corresponding files:
<stdexcept>
in glfft_wisdom.cpp<cstdio>
and<cerrno>
in glfft_gl_interface.hpp<cstdio>
in glfft_gl_interface.cppEven then, building fails due to linker errors:
None of these errors occured when building with GCC 9.3.0 or when using gcc-8 by manually editing build.ninja.
The text was updated successfully, but these errors were encountered: