This may be the same sort of bug I saw in MPFR a few weeks ago
wherein I see :

https://sympa.inria.fr/sympa/arc/mpfr/2023-08/msg00006.html


With GMP ver 6.3.0 I run into the same sort of thing :

conftest.c:2:10: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
int main () { return 0; }
         ^
          void
1 error generated.
configure:5985: $? = 1
failed program was:

int main () { return 0; }
configure:7072: result: no
configure:7310: error: could not find a working compiler, see config.log for details


This is seen on FreeBSD 14.0 on a RISC-V machine ( the SiFive board )
however I bet it happens just about anywhere if one goes with strict
C99 CFLAGS.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to