Compatibility between g++ and gcc compiled sources

Eljay Love-Jensen eljay@adobe.com
Wed May 25 14:47:00 GMT 2005


Hi Julio,

When you specify the identifiers from the shared libraries C declaration in the C++ translation unit, are you doing it like this...

extern "C" void MyCSharedLibraryFunction(int a, double b);
extern "C" int MyCSharedLibraryVariable;

...?

HTH,
--Eljay



More information about the Gcc-help mailing list