Patchlet to remove warnings
FX Coudert
fxcoudert@gmail.com
Sun Feb 24 15:56:00 GMT 2008
Thomas' 2008-01-15 patch for PR libfortran/34671 has added new
warnings when building libgfortran. I can't build in maintainer mode
and regtest that right now, but if someone has time to do it, it's
preapproved:
Index: ifunction_logical.m4
===================================================================
--- ifunction_logical.m4 (revision 132578)
+++ ifunction_logical.m4 (working copy)
@@ -102,8 +102,9 @@
{
if (rank != GFC_DESCRIPTOR_RANK (retarray))
runtime_error ("rank of return array incorrect in"
- " u_name intrinsic: is %d, should be %d",
- GFC_DESCRIPTOR_RANK (retarray), rank);
+ " u_name intrinsic: is %ld, should be %ld",
+ (long int) GFC_DESCRIPTOR_RANK (retarray),
+ (long int) rank);
if (compile_options.bounds_check)
{
FX
--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/
More information about the Fortran
mailing list