malloc with gmp

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


"Bernhard Helmes" <bhelmes at gmx.de> 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.

-- 
Torbjörn


More information about the gmp-discuss mailing list