Re: A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Steve Kargl via Fortran
Oh, I'm not asking you or any of the other regular contributors to gfortran to pick up my WIP patch and finish the last 5%. Now, lurkers on the mailing list, who have always wanted to give back, well I'm more than willing to help explain the patch and what I think needs to be done if they are so i

Re: A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Paul Richard Thomas via Fortran
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

Re: A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Steve Kargl via Fortran
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. >

Re: A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Paul Richard Thomas via Fortran
Hi Jorge, PRs 108650/106035 cover this problem. Thanks Paul On Fri, 2 Jun 2023 at 15:04, Jorge D'Elia via Fortran wrote: > > Hi, > > I have a doubt about IMPORT and SELECT TYPE, please see the > forwarded message below (that also has a sample code), as well > > h

Re: A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Paul Richard Thomas via Fortran
at 15:04, Jorge D'Elia via Fortran wrote: > > Hi, > > I have a doubt about IMPORT and SELECT TYPE, please see the > forwarded message below (that also has a sample code), as well > > https://www.ibm.com/docs/en/xffbg/121.141?topic=attributes-import-fortran-2003 > >

A doubt about IMPORT and SELECT TYPE

2023-06-02 Thread Jorge D'Elia via Fortran
Hi, I have a doubt about IMPORT and SELECT TYPE, please see the forwarded message below (that also has a sample code), as well https://www.ibm.com/docs/en/xffbg/121.141?topic=attributes-import-fortran-2003 What is the correct way? Thanks. Regards. Jorge. - Forwarded message - From