On Thu, Feb 12, 2015 at 10:42:31AM -0500, Jason Ripley wrote:

> should.  However, I cannot seem to find the correct invocation in C++ to
> make it work.  I was wondering if it needs something like extern "C", which
> I tried to no avail.

Yes, when compiling with a C++ compiler you need to declare your calls into
C as "extern C" otherwise you'll be the victim of name mangling.

 Cheers, RalfD


Yes, when compiling with a C++ compiler you need to declare your calls into
C as "extern C" otherwise you'll be the victim of name mangling.

 Cheers, RalfD

_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to