Callling C++ code from C
From: Alexei Betin (abetin_at_mail.ru)
Date: 11 Feb 2004 09:35:43 -0800
C++ FAQ 32.1 (http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-32.1)
- You must use your C++ compiler when compiling main() (e.g., for
And what if my C++ library does not have any static objects which
require constructors called (it might define some static C++ object
pointers but initializes them to 0)?
Is there any reason that main() has to be compiled with C++ compiler
besides static initialization? I cannot think of any...