Re: [fortran, patch] Improve module version error messages

2012-03-03 Thread Janne Blomqvist
On Sat, Mar 3, 2012 at 23:02, FX wrote: >> What if the .mod file has been created by another compiler? Or do we have a >> separate error message for that? > > For that, we get (only spelling was fixed by my patch, the message already > existed): > >> Fatal Error: File 'foo.mod' opened at (1) is

Re: [fortran, patch] Improve module version error messages

2012-03-03 Thread FX
> What if the .mod file has been created by another compiler? Or do we have a > separate error message for that? For that, we get (only spelling was fixed by my patch, the message already existed): > Fatal Error: File 'foo.mod' opened at (1) is not a GNU Fortran module file I committed the pat

Re: [fortran, patch] Improve module version error messages

2012-03-03 Thread Janne Blomqvist
On Sat, Mar 3, 2012 at 11:53, FX wrote: > Hi all, > > Attached patch was triggered by PR 52313 > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52313), and tries to improve > error messages for module reading. It fixes one spelling of "GFORTRAN" --> > "GNU Fortran" and improves the error reportin

Re: [fortran, patch] Improve module version error messages

2012-03-03 Thread Steve Kargl
On Sat, Mar 03, 2012 at 10:53:24AM +0100, FX wrote: > Hi all, > > Attached patch was triggered by PR 52313 > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52313), and tries to improve > error messages for module reading. It fixes one spelling of "GFORTRAN" --> > "GNU Fortran" and improves the er

[fortran, patch] Improve module version error messages

2012-03-03 Thread FX
Hi all, Attached patch was triggered by PR 52313 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52313), and tries to improve error messages for module reading. It fixes one spelling of "GFORTRAN" --> "GNU Fortran" and improves the error reporting of old *unversioned* format from: > Parse error w