[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: Generated files problems.
From:       Tobias Burnus <burnus () gmx ! de>
Date:       2006-10-05 21:35:50
Message-ID: 45257AB6.5060107 () gmx ! de
[Download RAW message or body]

Hi,

FX Coudert wrote:
> Your modification to the script is fine, but in any case the build will
> fail while trying to compile selected_int_kind.F90, which is built just
> a few files later than this script. If people think that difference is
> worth commit a patch, I'll do it. Opinions?

Since a long thread has come up already and an error message to STDERR
might be more helpful than a failing selected_int_kind.F90, I'm in
favour of it.

Tobias

PS: Let's see whether Thunderbird still mangles my diff:

Index: libgfortran/mk-sik-inc.sh
===================================================================
--- libgfortran/mk-sik-inc.sh   (Revision 117449)
+++ libgfortran/mk-sik-inc.sh   (Arbeitskopie)
@@ -15,6 +15,11 @@
   rm -f tmp$$.*
 done
+if [ "x$kinds" = "x" ]; then
+  echo 'ERROR: mk-sik-inc.sh: No possible integer kind found!' 1>&2
+  exit 1
+fi
+
 echo "  integer, parameter :: c = $c"
 echo "  type (int_info), parameter :: int_infos(c) = (/ &"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic