【发布时间】:2011-07-27 00:47:07
【问题描述】:
以下内容无法在 Intel Fortran XE 2011 中编译:
TYPE type1
procedure(interface1),POINTER::p
END TYPE type1
ABSTRACT INTERFACE
integer function interface1(a)
real,intent(in)::a
END function interface1
END INTERFACE
错误:
error #8262: The passed-object dummy argument must be dummy data object with the same declared type as the type being defined.
【问题讨论】:
标签: pointers fortran function-pointers