Bug#1086340: mpfi FTBFS on 32-bit with gcc 14

Adrian Bunk bunk at debian.org
Tue Oct 29 23:25:50 GMT 2024


Source: mpfi
Version: 1.5.4+ds-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=mpfi&ver=1.5.4%2Bds-3%2Bb1

...
../../tests/type_js.c: In function 'read_line_js':
../../tests/type_js.c:45:16: error: passing argument 2 of 'read_sj' from incompatible pointer type [-Wincompatible-pointer-types]
   45 |   read_sj (fp, &(MPFI_FUN_ARG (*this, 3, si)));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                |
      |                long int *
In file included from ../../tests/type_js.c:25:
../../tests/mpfi-tests.h:296:33: note: expected 'intmax_t *' {aka 'long long int *'} but argument is of type 'long int *'
  296 | void read_sj            (FILE*, intmax_t*);
      |                                 ^~~~~~~~~
../../tests/type_js.c: In function 'check_line_js':
../../tests/type_js.c:69:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'intmax_t' {aka 'long long int'} [-Wformat=]
   69 |     printf ("Failed line %lu.\nop = %ld", test_line_number, op);
      |                                     ~~^                     ~~
      |                                       |                     |
      |                                       long int              intmax_t {aka long long int}
      |                                     %lld
make[3]: *** [Makefile:2417: type_js.lo] Error 1



More information about the debian-science-maintainers mailing list