-
Notifications
You must be signed in to change notification settings - Fork 102
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
Fix compilation with NAG #753
Conversation
Test compilation still fails at namelist IO:
Neither the symbol |
Runtime error for
triggered by this line Line 74 in bb44917
|
Runtime error due to integer overflow when calculating the file hash
I think we actually want an overflow and wrap around here since we are using a signed integer to store a byte sequence. |
- excludes alias, dangling, and intovf checks
The issue with the integer overflow is an additional check for signed integer overflows. Running in release mode works, except for an error when compiling fpm itself
Looks like the NAG compiled binary fails to correctly resolve the module names. |
I think this is ready for review now, I collected the unresolved issues in #754 in case anyone wants to have a look at those. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for submitting this @awvwgk !
fpm_command_line.f90
recursive
attribute in serializerfix error in test suite for namelist IO(see Compiling with NAG fails / binary is not usable #754)fix signed integer overflow error in file checksum(see Compiling with NAG fails / binary is not usable #754)correctly resolve module duplicates(see Compiling with NAG fails / binary is not usable #754)Requires
See #752 for original NAG report, tracked in #754