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

Function Name Collisions

hweisberg
Einsteiger
1.157Aufrufe
Say my code references a function whose name is the name of a generic Fortran function. For example,

x = EOF(i)

Is there a linker option that would automatically cause my own version of the EOF function to load rather than the generic function?
0 Kudos
2 Antworten
Steven_L_Intel1
Mitarbeiter
1.157Aufrufe
I think you mean intrinsic rather than generic. The language offers the EXTERNAL declaration for this purpose. Or you can write an explicit interface (which I would find preferable.)

Steve
hweisberg
Einsteiger
1.157Aufrufe
Thanks, steve.
Antworten