This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Generated files problems.
On Thu, Oct 05, 2006 at 11:35:50PM +0200, Tobias Burnus wrote:
>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.
I'm not happy with that approach. The kinds should not fail to be
detected in the first place..
>
>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
+>+ echo 'ERROR: $0: No possible integer kind found!' 1>&2
>+ exit 1
>+fi
>+
> echo " integer, parameter :: c = $c"
> echo " type (int_info), parameter :: int_infos(c) = (/ &"
>