[PATCH,fortran]: [Fwd: fix part of PR 32600] - c_funloc

Steve Kargl sgk@troutmask.apl.washington.edu
Mon Jul 23 00:14:00 GMT 2007


On Sat, Jul 21, 2007 at 10:08:32PM +0200, Tobias Burnus wrote:
> 
> (Does anyone understand why this is not prefixed by __iso_c_binding_ ?
> "nm libgfortran.a" shows that c_associated_* and c_f_pointer exist only
> in properly prefixed form?)
> 

I suspect you need to fix resolve.c(gfc_iso_c_func_interface)
to include the prefix (see line 1748).

This 
	  sprintf (name, "%s_1", sym->name);
may need to be
	  sprintf (name, "__iso_c_binding_%s_1", sym->name);

-- 
Steve



More information about the Fortran mailing list