Bug Report:
=================================
date: 7/26/03
-------------------------------------------------------------------
Version: Gmp latest release (4.1.2)
OS: Unix
-------------------------------------------------------------------
-------------------------------------------------------------------
Code :
//////////////////////////////////////////////////////
#include <gmp.h>
#include <iostream.h>
void main(){
mpz_t integ;
char *strr;
mpz_set_str (integ, "12345", 0);
gmp_sprintf (strr,"%Zd",integ);
}
//////////////////////////////////////////////////////
-------------------------------------------------------------------
-------------------------------------------------------------------
Compiling command:
g++ 1.cpp -lgmp
-------------------------------------------------------------------
-------------------------------------------------------------------
Errors report:
1.cpp: In function `int main(...)':
1.cpp:9: implicit declaration of function `int gmp_sprintf(...)'
-------------------------------------------------------------------
-------------------------------------------------------------------
The output from running ./config.guess:
athlon-unknown-freebsd4.7
-------------------------------------------------------------------
I need to use the gmp_sprintf function and it doesn't work. Without it I can't complete my code.
thanks,
M.Rotgizer [puyo]
7/26/03