On Sunday 09 September 2001 19:29, Juhana Sadeharju wrote:
> Anyone know how to get overloaded complex number operations to C
> without rewriting everything in pure C++ style. It is possible
> just to switch compiler to g++ for those files which uses the
> complex number operations? Can those object files (functions) then
> be included to a program compiled with C?

It should be possible to compile with g++ - just make sure that you 
use "extern "C" { ... }" in the C files, to avoid name mangling and 
linking probelms.


//David

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'

Reply via email to