This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compatibility between g++ and gcc compiled sources
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Julio Garvia <JGarvia at orga-systems dot com>, gcc-help at gcc dot gnu dot org
- Date: Wed, 25 May 2005 09:49:14 -0500
- Subject: Re: Compatibility between g++ and gcc compiled sources
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