void -> char cast

Marc Glisse marc.glisse at inria.fr
Sat Jan 11 23:42:49 UTC 2014

On Sat, 11 Jan 2014, Steve M. Robbins wrote:

> Just to be sure: did you tell your C++
> compiler that gmp is C by doing something like
> 	extern "C" {
> 	#include <gmp.h>
> 	}

Just to be sure: that's advice on what *NOT* to do. gmp.h works fine in C 
and C++ as is and messing with extern "C" is only going to cause problems.

Marc Glisse

More information about the gmp-bugs mailing list