[Pkg-phototools-devel] Bug#871905: openjpeg2 FTBFS: src/lib/openjp2/tcd.c:1177:22: error: 'UINT_MAX' undeclared
Adrian Bunk
bunk at debian.org
Sat Aug 12 11:56:55 UTC 2017
Source: openjpeg2
Version: 2.1.2-1.2
Severity: serious
https://buildd.debian.org/status/package.php?p=openjpeg2&suite=sid
...
/<<PKGBUILDDIR>>/src/lib/openjp2/tcd.c: In function 'opj_tcd_get_decoded_tile_size':
/<<PKGBUILDDIR>>/src/lib/openjp2/tcd.c:1177:22: error: 'UINT_MAX' undeclared (first use in this function); did you mean 'WINT_MAX'?
if (l_size_comp && UINT_MAX / l_size_comp < l_temp) {
^~~~~~~~
WINT_MAX
/<<PKGBUILDDIR>>/src/lib/openjp2/tcd.c:1177:22: note: each undeclared identifier is reported only once for each function it appears in
/<<PKGBUILDDIR>>/src/lib/openjp2/tcd.c: In function 'opj_tcd_update_tile_data':
/<<PKGBUILDDIR>>/src/lib/openjp2/tcd.c:1380:21: error: 'UINT_MAX' undeclared (first use in this function); did you mean 'WINT_MAX'?
if (l_data_size == UINT_MAX || l_data_size > p_dest_length) {
^~~~~~~~
WINT_MAX
src/lib/openjp2/CMakeFiles/openjp2.dir/build.make:449: recipe for target 'src/lib/openjp2/CMakeFiles/openjp2.dir/tcd.c.o' failed
make[3]: *** [src/lib/openjp2/CMakeFiles/openjp2.dir/tcd.c.o] Error 1
More information about the Pkg-phototools-devel
mailing list