This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgfortran still fails to build for sh-elf
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: gcc at gcc dot gnu dot org, joern at rennecke dot st dot com
- Cc: "Fortran List" <fortran at gcc dot gnu dot org>
- Date: Tue, 14 Nov 2006 10:55:37 +0100
- Subject: Re: libgfortran still fails to build for sh-elf
And why would you think (twice) that the best place for reporting this
is neither the gfortran mailing-list, nor bugzilla?
I suggest that you test the following patch and report back to us:
Index: libgfortran/runtime/error.c
===================================================================
--- libgfortran/runtime/error.c (revision 118806)
+++ libgfortran/runtime/error.c (working copy)
@@ -285,7 +285,7 @@
if (!options.locus || cmp == NULL || cmp->filename == NULL)
return;
- st_printf ("At line %d of file %s\n", cmp->line, cmp->filename);
+ st_printf ("At line %ld of file %s\n", (long int) cmp->line, cmp->filename);
}