#6951 closed defect (fixed)
Build failure on RHEL 6
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.5 |
Component: | ConfigBuild | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
GDAL build fails on RHEL 6 with non C++11 compiler, related to Jasper
In file included from /usr/include/jasper/jasper.h:77, from jpeg2000dataset.cpp:35: /usr/include/jasper/jas_math.h: In function ‘bool jas_safe_size_mul(size_t, size_t, size_t*)’: /usr/include/jasper/jas_math.h:143: error: ‘SIZE_MAX’ was not declared in this scope /usr/include/jasper/jas_math.h: In function ‘bool jas_safe_size_add(size_t, size_t, size_t*)’: /usr/include/jasper/jas_math.h:170: error: ‘SIZE_MAX’ was not declared in this scope
Note:
See TracTickets
for help on using tickets.
In 39439: