build failure libmpcodecs/mp_image.c:
"Rinaldi J. Montessi" <[email protected]> Wed, 11 Oct 2023 07:43:48 -0500
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Organization | Red White and Blue |
| Message-ID | <[email protected]> |
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"