>I have overloaded a routine trcr_get by two different implementations and
>gfortran is giving me a "Error: Ambiguous interfaces 'trcr_getbyindex' and
>'trcr_getbyname' in generic interface 'trcr_get'" which I don't really
>understand. The first two arguments are non-optional and positional and since
>the second one is of a different type (INTEGER vs. CHARACTER(LEN=*)) I don't
>really understand why the interfaces are ambiguous. Any ideas/help of how to
>disambiguate the situation would be appreciated!
Yes they are ambiguous if you use keywords in the argument list. Generics need
to be unambiguous by keyword as well as by name.
................................Malcolm Cohen, Nihon NAG, Tokyo.