This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran 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 dot rennecke at st dot com
- Cc: "Fortran List" <fortran at gcc dot gnu dot org>
- Date: Tue, 14 Nov 2006 16:47:50 +0100
- Subject: Re: libgfortran still fails to build for sh-elf
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DvsDF6WHFCtkjIb0kTnwaO5Xu4p5PKtenCNfqBWd/TiVD9ElQXeqd/BtZWRf0LSe1q4zh9O7ypHWeJtscbnCU0juaYIKasL06XjxPJLoT57SwBn/6I54X6PbsnrLdRYkRvB6XGDMh++VtORn/Rw0QGw94jUQhGROxJmiL5lWMak=
- References: <19c433eb0611140155s35eb0e5eq93c32a6ed9783c85@mail.gmail.com>
I suggest that you test the following patch and report back to us:
I got the patch wrong (it's not a real printf function we have there):
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 %d of file %s\n", (int) cmp->line, cmp->filename);
}