Line truncated
Symptom
The following error is reported during compilation:
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]
Cause
The GFortran syntax rules have restrictions. In the free format, each line cannot exceed 132 characters. However, different compilers have different restrictions on the length of each line.
Procedure
Use the continuation character to start a new line, or add the compilation option -ffree-line-length-none. The free format has no restriction on the number of lines.
Parent topic: Common Problems (Syntax Differences)