R. T. (Fortran Man)
09-03-2003, 05:34 PM
I compiled a *.f90 module, and I am trying to call routines in this module from a *.cc code.
The problem is that the name mangling used by Lahey incorporates a "." (e.g., routine foo in module mymod, generates a symbol mymod.foo_). Unfortunately, the presence of the "." prevents compilation of the *.cc code at the declaration
statement:
extern "C" {
int mymod.foo_();
}
The problem is that the name mangling used by Lahey incorporates a "." (e.g., routine foo in module mymod, generates a symbol mymod.foo_). Unfortunately, the presence of the "." prevents compilation of the *.cc code at the declaration
statement:
extern "C" {
int mymod.foo_();
}