Trunk merged into fortran-exp branch
Dominique Dhumieres
dominiq@lps.ens.fr
Tue Jan 26 17:09:00 GMT 2010
I have done my best to have a clean revision 156232 of fortran-dev
(i.e., I have deleted and reloaded all the files with a 'G'
in the SVN update).
>From my very limited understanding of C, I think the problem comes
from
c = gfc_constructor_first (tmp_sym->value->value.constructor);
gfc_constructor_append_expr (&c, NULL, NULL);
The type of 'c' is 'gfc_constructor', 'gfc_constructor_append_expr'
expects a first argument of type 'gfc_constructor_base', that is
of type 'splay_tree' (see
typedef splay_tree gfc_constructor_base;
in gcc/fortran/gfortran.h). So I think the warning about pointer
compatibility is right, then since the default config I use turns
warnings into errors, I get a fatal error. Hence '&c' should be
changed to something of type 'gfc_constructor_base', but I
don't know how to do it.
Regards,
Dominique
More information about the Fortran
mailing list