[Patch, Fortran] Better error messages for type/rank checks
Mikael Morin
mikael.morin@sfr.fr
Fri May 31 11:00:00 GMT 2013
Le 31/05/2013 12:41, Tobias Burnus a écrit :
> Thus, I am in favour of having some reasonable limited. Whether 80 or
> 132 is best, is bikeshadding. I am slightly inclined to 80, but also 132
> is fine with me. Thus, if you want, you can bump the value to 132.
For what it's worth, I'm also slightly in favor of 80.
Another possibility: no limit if it's unable to determine terminal
width, like in the pathologic case from Manfred Schwarb in the thread.
In general, output shouldn't be trimmed if it's redirected to a file.
>
> * * *
>
> Ignoring the line length, I would like to see the following two
> improvements:
>
> a) To use the common middle-end diagnostic system (which some special
> Fortran handling); that will make use profit from general improvements
> (cf. PR44054). In particular:
> - Color output, cf. http://gcc.gnu.org/gcc-4.9/changes.html
> - Show the flag which caused the warning in parentheses
> - Handling of -Werror=... (I think gfortran currently only handles
> -Werror to turn all warnings into errors)
- Macro-expansion-aware locations (not very useful for fortran, but
still very nice).
Mikael
More information about the Fortran
mailing list