-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fails to build with gcc 9 #114
Comments
Thanks for reporting this. It may take some iteration to figure out what's going on. GCC9 appears to have altered its treatment of variables in OpenMP shared() pragmas. GCC8 complains when I explicitly share fp_stderr in order to solve the GCC9 problem above:
I fear this means I need to implement GCC version-dependent shared() clauses. The other option is to remove the |
Well, it does seem to be default(none) that triggers it. I'm not sure what the implication of removing it is. From https://gcc.gnu.org/ml/gcc-patches/2018-11/msg00628.html:
PS - What's the point of fp_stderr? |
I used |
You're right about there being lots of default(none)s that need to be removed. |
Remove default(none) clauses to prevent GCC9 errors, fixes #114
The text was updated successfully, but these errors were encountered: