[J3] Question about "Ambiguous interfaces in generic interface"

Steve Lionel steve at stevelionel.com
Fri Oct 7 13:43:45 UTC 2022

On 10/7/2022 9:36 AM, Jeff Hammond via J3 wrote:

> I am trying to understand why GCC Fortran (12.2) rejects this code, 
> whereas Cray and Intel are happy with it (and NVHPC is too, if I use 
> something other than type(*)).

FWIW, NAG Fortran 7.1 is also happy with this code.

D:\Projects>nagfor -c -f2018 t.f90
NAG Fortran Compiler Release 7.1(Hanzomon) Build 7108
Warning: t.f90, line 14: Unused dummy variable BUF
Warning: t.f90, line 18: Unused dummy variable BUFFER
[NAG Fortran Compiler normal termination, 2 warnings]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20221007/237f688a/attachment.htm>

More information about the J3 mailing list