Chris Bowlby wrote:


#include <iostream>

void test_fun(int &number) {
 cout << number << "\n";
}


Does nm on the libtest.so show test_fun as being defined? I think it is probably mangled, this is c++. It is advisable to use extern "C" if you plan on looking up the symbol and are using a c++ compiler.


Peter
--
Peter O'Gorman - http://www.pogma.com


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to