(j3.2006) BIND(C, name='') means no binding label?

Aleksandar Donev donev1
Wed Jul 25 14:54:44 EDT 2007


On Wednesday 25 July 2007 11:43, Jim Xia wrote:

> If name=' ' implies "possible" change in calling convention
Bill meant "possible" because Fortran compiler may be using the same calling 
convention

BIND(C,name="")

in an interface means:
1) Use the C calling convention
2) Do not emit a binding label (with whatever mechanism you want to use, name 
mangling, or other). There could be a C routine with the same name as the 
Fortran one, or there can be other Fortran routines with the same name, 
without conflicts.

Aleks



More information about the J3 mailing list