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
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers