[Patch, fortran] PR19262 more than thirty-nine continuation lines should issue a std-warn

François-Xavier Coudert fxcoudert@gmail.com
Wed Sep 27 07:08:00 GMT 2006


> I am also issuing a warning if the respective limit is exceeded when -pedantic
> is given, regardless of any -std specified.

In my view, that contradicts the general working of -pedantic as a
flag turning extensions (wrt the standard applying, be it explicitly
specified or not) warnings into errors, to require full
standard-checking. Why not use completely notification_std, and issue
an error if it returns ERROR and a warning if it returns WARNING (and
nothing if it returns SILENT, of course)?

FX



More information about the Fortran mailing list