[MPlayer-users] build failure libmpcodecs/mp_image.c:
Rinaldi J. Montessi
rinaldij at gmail.com
Wed Oct 11 15:43:48 EEST 2023
Today's svn:
libmpcodecs/mp_image.c: In function 'mp_image_alloc_planes':
libmpcodecs/mp_image.c:39:39: error: 'INT_MAX' undeclared (first use in
this function)
39 | if ((unsigned int)mpi->height + 2 > INT_MAX ||
| ^~~~~~~
libmpcodecs/mp_image.c:34:1: note: 'INT_MAX' is defined in header
'<limits.h>'; did you forget to '#include <limits.h>'?
33 | #include "mp_msg.h"
+++ |+#include <limits.h>
34 |
libmpcodecs/mp_image.c:39:39: note: each undeclared identifier is
reported only once for each function it appears in
39 | if ((unsigned int)mpi->height + 2 > INT_MAX ||
| ^~~~~~~
make: *** [Makefile:730: libmpcodecs/mp_image.o] Error 1
Rinaldi
--
Critic, n.:
A person who boasts himself hard to please because nobody tries
to please him. -- Ambrose Bierce, "The Devil's Dictionary"
More information about the MPlayer-users
mailing list