-
Notifications
You must be signed in to change notification settings - Fork 15
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
Build error on Silicon with NAG Fortran #78
Comments
If the compiler doesn't understand standard #ifdef then it will never work. The linux version of nagfor does understand this, and https://www.nag.com/nagware/np/r70_doc/fpp.html suggests that this is generally supported. What does |
|
Excellent. Under linux, a .F90 suffix implies -fpp, a bit odd that this doesn't follow for Macs |
I'm reopening this because it requires a fix. What's happening is that fpp isn't triggered automatically by the F90 extension (capital F) on macOS. The reason is that most users don't install macOS as case sensitive (it isn't by default). So we should really add the preprocessing flag to all compilers by default on macOS. Same thing on Windows. |
Nice! Mac trying to emulate the best features of Windows AFAIK, for Mac it is -cpp for gfortran and I'll add these for the osx files on archdefs (for those of us who |
The text was updated successfully, but these errors were encountered: