Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29389 Discussions

Cray pointers used as procedure pointers

qolin
Novice
568 Views
The IVF release 9 reference manual states that the pointee of a Cray pointer cannot be in a generic interface block.
(a) Can we assume from this that the pointee can point to a procedure, as long as it is not in an interface block?
(b) Do the Windows and Linux versions of the compiler differ in this regard?
(c) How about uprating the manual, and the release notes, to advertize the fact that pointers to procedures are possible in IVF? SURELY I'm not the only person in the world that thinks this is an important feature?
(d) CVF allows the pointee to be in an interface block. SinceIntel have positioned IVF to be the natural successor to CVF, are there any plans to arrange compatability between the compilers in this regard?
Kind regards
Colin Watters
0 Kudos
1 Reply
Steven_L_Intel1
Employee
568 Views
You're right that the description of POINTER should state that the pointee can be EXTERNAL or a procedure with an explicit interface. I'll ask our writer to add that.
I tried to construct an example using a generic interface with POINTER to see what CVF did with it, but just got errors from CVF. Do you have a small example to demonstrate the issue? If I construct a sample with a non-generic interface, it works in both compilers.
The Windows and Linux compilers are the same in this regard.
0 Kudos
Reply