Hi Steve, As noted in the previous email :-), although I didn't mention the partially cooked patch. One day, once F2003 is sorted, I might turn to F2008/18! Cheers Paul On Fri, 2 Jun 2023, 16:27 Steve Kargl via Fortran, wrote: > On Fri, Jun 02, 2023 at 03:53:44PM +0100, Paul Richard Thomas via Fortran > wrote: > > Hi Jorge, > > > > As I posted in the Intel Community, the error generated by gfortran > > (and nagfor) is consistent with the F2003 constraint: C1210 (R1209) > > The IMPORT statement is allowed only in an interface-body. > > > > Could you please raise a problem report in gcc Bugzilla? > > > > There already is a PR about IMPORT. See > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 > > There is a patch that is 95-ish% complete. The last > 5% is the hard part, which it seems no one has had > time or ideas on how to finish the patch. > > -- > Steve >