[gfortran,patch] Internationalisation of the Fortran front-end
Gabriel Dos Reis
gdr@integrable-solutions.net
Thu Sep 1 15:06:00 GMT 2005
François-Xavier Coudert <fxcoudert@gmail.com> writes:
| > | gfortran doesn't use locus in the same sense that other front-end
| > | routines.
| >
| > that is a bug.
|
| Yes, indeed. I woud like to get it fixed, gfortran should move to the
| generic GCC diagnostics machinery. "hopefully for GCC 4.1", to quote
| Steven B in PR15586 ;-)
|
| My ambition is not to fix all gfortran bugs fixed right now. Moving to
| GCC diagnostics is not an easy thing to get done. I'm not even sure it
| would be beneficial, at least not without adding functionnality to
| these machinery (having the error lines quoted and the position of the
| error on the line printed above is a *really nice* feature).
Positioning (1) as you currently do can be achieved through the
callback BEGIN_DIAGNOSTIC, which output any necessary bits before the
main diagnostic text is emitted.
(The C++ front-end, for example, uses it to print the stack of template
instantiation contexts).
More information about the Gcc-patches
mailing list