The GMP version number, and if pre-packaged or patched then say so.
6.1.1
A test program that makes it possible for us to reproduce the bug. Include
instructions on how to run the program.
file attached (mills.cpp)
A description of what is wrong. If the results are incorrect, in what way. If
you get a crash, say so.
Seems the mpz_powm is not recognized…
mills.cpp:29:5: error: no matching function for call to '__gmpz_powm'
mpz_powm(a.get_mpz_t(),trois.get_mpz_t(),o.get_mpz_t());
^~~~~~~~
/usr/local/include/gmp.h:981:18: note: expanded from macro 'mpz_powm'
#define mpz_powm __gmpz_powm
^~~~~~~~~~~
/usr/local/include/gmp.h:982:21: note: candidate function not viable: requires
4 arguments,
but 3 were provided
__GMP_DECLSPEC void mpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
^
/usr/local/include/gmp.h:981:18: note: expanded from macro 'mpz_powm'
#define mpz_powm __gmpz_powm
If you get a crash, include a stack backtrace from the debugger if it’s
informative (‘where’ in gdb, or ‘$C’ in adb).
Please do not send core dumps, executables or straces.
The ‘configure’ options you used when building GMP, if any.
—enable-cxx —disable-shared
The output from ‘configure’, as printed to stdout, with any options used.
see file attached “configure.pages" (to convert for a PC into .doc)
The name of the compiler and its version. For gcc, get the version with ‘gcc
-v’, otherwise perhaps ‘what `which cc`’, or similar.
I don’t know ! I used the Xcode command tool select. So "xcode-select
—install”, that install a gcc 4 version I think...
The output from running ‘uname -a’.
Darwin MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29
02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
The output from running ‘./config.guess’, and from running ‘./configfsf.guess’
(might be the same).
haswell-apple-darwin14.5.0
and
x86_64-apple-darwin14.5.0
If the bug is related to ‘configure’, then the compressed contents of
config.log.
If the bug is related to an asm file not assembling, then the contents of
config.m4 and the offending line or lines from the temporary mpn/tmp-<file>.s.
Thomas Lover
http://www.energyistheglobalcurreny.org/
http://www.lovenergies.wordpress.com/
Save your world, then save the world or do both.
Delete maximum of mails, it's polluting.
[email protected]
+918524959404, Auroville, India
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs