gfortran-10 compile error
goord opened this issue · comments
Gijs van den Oord commented
When trying to compile regcm (main branch) with gfortran-10, the compiler halts upon an invalid BOZ literal constant:
mod_intkinds.F90:37:38:
37 | integer(ik4), parameter :: bigint = O'17777777777'
| 1
Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see ‘-fno-allow-invalid-boz’]
As suggested by gfortran, added the flag -fallow-invalid-boz
fixes the issue and a pull request from our side is underway...
Gijs van den Oord commented
Issue has been resolved by commit above, closing