With the following code: INTEGER :: someint CHARACTER (LEN=40) :: strcounter WRITE(strcounter,'(I)') someint
The error message is generated: WRITE(strcounter,'(I)') someint 1 Error: Nonnegative width required in format string at (1) Which to me just suggests that gfortran does not have the (i believe) standard behavior of automatically assigning a width to the format descriptor based on the given integer. However, this only appears to be a problem when using a character variable/internal file. -- Summary: No default integer descriptor width Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wchemelewski at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43158