[omniORB] How to link c library in omni application

bjorn rohde jensen shamus@tdcadsl.dk
Mon Jun 10 11:14:00 2002


Hi Shifeng,

 The problem is, that _cplusplus is not defined by g++
during compilation, so it never sees the extern "C"
directive. It is most likely just a typo, as the macro
__cplusplus is defined by g++ during compilation. You
simply need to add one more leading _ to your ifdefs,
and it will work nicely.

Yours sincerely,

Bjorn