This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]