[omniORB] How to link c library in omni application

bjorn rohde jensen shamus@tdcadsl.dk
Sun Jun 9 23:48:00 2002


Hi Shifeng,

 When you want to link with C lib's from C++, you have
to tell the compiler, that the functions in the lib have
C style linkage. That is usually done by specifying the
functions as 'extern C' in the header file of the lib.

Yours sincerely,

bjorn