-
Notifications
You must be signed in to change notification settings - Fork 91
Build failure: Error: Symbol 'absolute' at (1) has no IMPLICIT type
#216
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
Comments
Hi Sergey, it seems that your CMake build doesn't have preprocessing enabled. Perhaps it's because your compiler is not recognized as |
@milancurcic Hmm, it should be recognized as GNU and normally it is. It might happen that the build picks a different preprocessor from system prefix (which is from gcc-4.2), and that does not work correctly with gcc-14 and its gfortran. I will look into this issue today, thank you for a suggestion. |
@milancurcic Okay, the problem is that the build only considers Release or Debug build: neural-fortran/cmake/compilers.cmake Lines 18 to 19 in 2ed7b6a
Since this is not what MacPorts uses as default https://github.com/macports/macports-ports/blob/0e39368a28b6be200d5ea67196227027e1d180ac/_resources/port1.0/group/cmake-1.1.tcl#L40-L44 the needed -cpp flag was not passed.I think it is a bug. There should be some default for build types not mentioned explicitly, since RelWithDebInfo and MinSizeRel are valid types, not specific to MacPorts. |
Sounds good, this change would be very welcome. If you know how to do it, can you go ahead and make a PR? Otherwise, I'll do a little bit of research and fix it soon. |
Build fails with gfortran 14.2.0:
The text was updated successfully, but these errors were encountered: