This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [OOP] SELECT TYPE with CLASS IS
- From: Salvatore Filippone <salvatore dot filippone at uniroma2 dot it>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "Rouson, Damian" <rouson at sandia dot gov>, "dominiq at lps dot ens dot fr" <dominiq at lps dot ens dot fr>, "janus at gcc dot gnu dot org" <janus at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Mon, 09 Nov 2009 12:43:26 +0100
- Subject: Re: [OOP] SELECT TYPE with CLASS IS
- References: <20091108140201.547F53BE85@mailhost.lps.ens.fr> <C71C44BC.A004%rouson@sandia.gov> <339c37f20911081042x567f1d9blc9c4076dd2fdabbb@mail.gmail.com>
- Reply-to: salvatore dot filippone at uniroma2 dot it
Paul,
I tried (in a rather careless fashion) to apply the patch to the
fortran-dev branch, but it does not apply cleanly and bootstrap is
broken, presumably because of it, with a bunch of errors in resolve.c.
../../gcc-dev/gcc/fortran/resolve.c: In function âresolve_compcallâ:
../../gcc-dev/gcc/fortran/resolve.c:5093:10: error: âfcnâ undeclared (first use in this function)
../../gcc-dev/gcc/fortran/resolve.c:5093:10: error: (Each undeclared identifier is reported only once
../../gcc-dev/gcc/fortran/resolve.c:5093:10: error: for each function it appears in.)
cc1: warnings being treated as errors
../../gcc-dev/gcc/fortran/resolve.c: In function âcheck_class_membersâ:
../../gcc-dev/gcc/fortran/resolve.c:5166:3: error: passing argument 2 of âresolve_compcallâ makes pointer from integer without a cast
../../gcc-dev/gcc/fortran/resolve.c:5044:1: note: expected âconst char **â but argument is of type âunsigned charâ
../../gcc-dev/gcc/fortran/resolve.c:5172:36: error: âstruct <anonymous>â has no member named âclass_esymâ
........
Is there anything obvious I am missing, or should I just wait a little
bit more?
Thanks
Salvatore