void -> char cast
Steve M. Robbins
steve at sumost.ca
Sat Jan 11 23:08:24 UTC 2014
On January 10, 2014 07:16:48 PM Conor Williams wrote:
> guys, 3 things:
>
> 1. my c++ code using your gmp libs would not link with your gmp compiled
> with gcc.
As others have observed, this is surprising. C libraries can generally be
linked with and called from C++ code. Just to be sure: did you tell your C++
compiler that gmp is C by doing something like
extern "C" {
#include <gmp.h>
}
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20140111/498d7978/attachment.bin>
More information about the gmp-bugs
mailing list