Jack N. Hatfield said:
>I'm using the NAG F95 Relase 4.0 compiler. I have specified the procedure:
I recommend asking this sort of NAG-specific question of the support desk,
viz [log in to unmask] (US/Canada) or [log in to unmask] (Rest of World).
>This appears to work. However, when I re-compile this code with the -C=all
>switch, relink and execute the result, I get the errors:
>
> Missing or Incorrect interface block
> Dummy argument FUNC is a POINTER
> Program terminated by fatal error
> Abort (core dumped)
>
>Can someone explain what this error means?
The error message means what it says - it thinks the interface block was
either missing or incorrect; the discrepancy is indicated - that dummy FUNC
is a POINTER (and that the actual argument is not).
If the interface block is correct and the actual argument really is a pointer
you should submit a bug report!
>I haven't found anything in my F90 or F95 references that forbids a pointer
>array function to be used as a procedure argument. Furthermore, I haven't
>been able to get around the INTERFACE problem.
Definitely sounds like you should get in touch with [log in to unmask] ...
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|