This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]