malloc with gmp

Torbjorn Granlund tege at
Thu May 11 21:38:02 CEST 2006

"Bernhard Helmes" <bhelmes at> writes:

  i wrote a small programm and used the function malloc.
  If i compile it with gcc and gmp 4.1.99 i get a warning 
  incompatible implicit declaration of built-in function malloc.
  Whats wrong with it, or better how can i allocate the memory in the right
  way. Besides i think that the use of malloc does not calculate the right
  space of memory.
This list is about GMP, it is not intended as a C programming
beginners forum.  Please respect that.


More information about the gmp-discuss mailing list