编译报错:
Projection_modul.f90:305:132: 305 | 83 format(‘ABORT: when calling proj_latlon_module subroutine “projinfo” , you must specify both dx and dy or neither’,/,’ dx present?’,I0,/,; dy present?’,I0) | 1 Error: Line truncated at (1) [-Werror=line-truncation]
GFortran语法规则有限制,自由格式下不允许每行超过132字符的长度,但是不同编译器针对该限制也会有差异。
使用续行字符进行换行,或者增加编译选项-ffree-line-length-none,自由格式无行数限制。