|
-
February 6th, 2013, 09:54 AM
#3
Re: "extern "C" void (*)(int)" cannot be converted to type "void (*)(int)"
 Originally Posted by Alex F
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|