Skip to content

Compilation error with gfortran: -Werror=line-truncation

In one of the latest versions the compilation with gfortran fails because of very long lines in the F3D module. For example:

../Sources/mod_F3D.F90:729:132:

729 | MY_TRA % my_s(i, j, k, ibin) = MY_TRA % my_s(i, j, k, ibin) * (MY_GRID % Hm1_p(j) * MY_GRID % Hm2_p(j) * MY_GRID % Hm3_p(i, j)) | 1 Error: Line truncated at (1) [-Werror=line-truncation]