Quote Originally Posted by Alex F View Post
C language doesn't support namespaces, so extern "C" and namespaces are incompatible. Function defined inside of a namespace cannot be declared as extern "C".
Hello,

thank you for the reply - this code compiles successfully on cygwin unix emulator. Looks like it's up to compiler (IBM XL C/C++ in my case). What can be done in code to resolve this ?

Regards,
Nenad