Possibly an annoying test in configure

Torbjörn Granlund tg at gmplib.org
Sun Aug 20 21:16:06 CEST 2023

Dennis Clarke <dclarke at blastwave.org> writes:

  Pretty sure that should be "int main (void) { return 0; } ".

Surely that is not how the implicit main() declaration looks?  A new
compiler warning is warranted.  So add (int argc, const char **argv)!
Oops, unused parameters, darn.  We need to make a fake dependency on
these unused parameters...

Alternatively, we could develop GMP.

  How hard can it be to patch that in the configure.ac autotools stuff?

It is pointless to work around compiler idiosyncrasies without a plan,
and without clear indications that it solves a real problem.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list