=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/pfstools", "all", "PYTHON_VERSION_REQD=313", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pfstools-2.2.0nb26 [ 0%] Building CXX object src/pfs/CMakeFiles/pfs.dir/colorspace.cpp.o [ 1%] Building CXX object src/pfs/CMakeFiles/pfs.dir/pfs.cpp.o /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/pfs/pfs.cpp:336:29: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 336 | struct str_cmp: public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /opt/local/gcc13/include/c++/13.4.0/string:49, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/pfs/pfs.cpp:46: /opt/local/gcc13/include/c++/13.4.0/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ [ 2%] Building CXX object src/pfs/CMakeFiles/pfs.dir/pfsutils.cpp.o [ 3%] Linking CXX static library libpfs.a [ 3%] Built target pfs [ 4%] Generating pfsin [ 4%] Built target pfsin_sh [ 5%] Generating pfsout [ 5%] Built target pfsout_sh [ 6%] Generating pfsindcraw [ 6%] Built target pfsindcraw_sh [ 7%] Building CXX object src/fileformat/CMakeFiles/pfsinyuv.dir/pfsinyuv.cpp.o [ 8%] Linking CXX executable pfsinyuv [ 8%] Built target pfsinyuv [ 9%] Building CXX object src/fileformat/CMakeFiles/pfsoutyuv.dir/pfsoutyuv.cpp.o [ 10%] Linking CXX executable pfsoutyuv [ 10%] Built target pfsoutyuv [ 11%] Building CXX object src/fileformat/CMakeFiles/pfsinrgbe.dir/pfsinrgbe.cpp.o [ 12%] Building CXX object src/fileformat/CMakeFiles/pfsinrgbe.dir/rgbeio.cpp.o [ 13%] Linking CXX executable pfsinrgbe [ 13%] Built target pfsinrgbe [ 14%] Building CXX object src/fileformat/CMakeFiles/pfsoutrgbe.dir/pfsoutrgbe.cpp.o [ 15%] Building CXX object src/fileformat/CMakeFiles/pfsoutrgbe.dir/rgbeio.cpp.o [ 16%] Linking CXX executable pfsoutrgbe [ 16%] Built target pfsoutrgbe [ 17%] Building CXX object src/fileformat/CMakeFiles/pfsinpfm.dir/pfsinpfm.cpp.o [ 18%] Linking CXX executable pfsinpfm [ 18%] Built target pfsinpfm [ 18%] Building CXX object src/fileformat/CMakeFiles/pfsoutpfm.dir/pfsoutpfm.cpp.o [ 19%] Linking CXX executable pfsoutpfm [ 19%] Built target pfsoutpfm [ 20%] Building CXX object src/fileformat/CMakeFiles/pfsinexr.dir/pfsinexr.cpp.o [ 21%] Linking CXX executable pfsinexr [ 21%] Built target pfsinexr [ 22%] Building CXX object src/fileformat/CMakeFiles/pfsoutexr.dir/pfsoutexr.cpp.o [ 23%] Linking CXX executable pfsoutexr [ 23%] Built target pfsoutexr [ 23%] Building CXX object src/fileformat/CMakeFiles/pfsinppm.dir/pfsinppm.cpp.o [ 24%] Building CXX object src/fileformat/CMakeFiles/pfsinppm.dir/ppmio.cpp.o [ 25%] Linking CXX executable pfsinppm [ 25%] Built target pfsinppm [ 26%] Building CXX object src/fileformat/CMakeFiles/pfsoutppm.dir/pfsoutppm.cpp.o [ 27%] Building CXX object src/fileformat/CMakeFiles/pfsoutppm.dir/ppmio.cpp.o [ 28%] Linking CXX executable pfsoutppm [ 28%] Built target pfsoutppm [ 29%] Building CXX object src/fileformat/CMakeFiles/pfsintiff.dir/pfsintiff.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/pfsintiff.cpp:37: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~ In file included from /tmp/work/graphics/pfstools/work/.buildlink/include/tiffio.h:31, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:31: /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:40:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 40 | uint16 comp; /// compression type | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:41:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 41 | uint16 phot; /// type of photometric data | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:43:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 43 | uint16 bps; /// bits per sample | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:44:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 44 | uint16 nSamples; /// number of channels in tiff file (only 1-3 are used) | ^~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ [ 29%] Building CXX object src/fileformat/CMakeFiles/pfsintiff.dir/hdrtiffio.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:37: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~ In file included from /tmp/work/graphics/pfstools/work/.buildlink/include/tiffio.h:31, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:31: /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:40:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 40 | uint16 comp; /// compression type | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:41:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 41 | uint16 phot; /// type of photometric data | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:43:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 43 | uint16 bps; /// bits per sample | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:44:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 44 | uint16 nSamples; /// number of channels in tiff file (only 1-3 are used) | ^~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In constructor 'HDRTiffReader::HDRTiffReader(const char*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:80:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 80 | uint16 * extra_sample_types=0; | ^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:81:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 81 | uint16 extra_samples_per_pixel=0; | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffReader::readImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:180:13: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 180 | uint16* wp; | ^~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:181:12: warning: 'uint8' is deprecated [-Wdeprecated-declarations] 181 | uint8* bp; | ^~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:80:37: note: declared here 80 | typedef TIFF_MSC_DEPRECATED uint8_t uint8 TIFF_GCC_DEPRECATED; | ^~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:186:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 186 | uint32 imagelength; | ^~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:191:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 191 | uint32 scanlinesize = TIFFScanlineSize(tif); | ^~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:198:14: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 198 | for(uint32 row = 0; row < imagelength; row++) | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:409:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:411:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:413:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:415:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:417:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:419:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ cc1plus: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:423:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:425:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ cc1plus: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:429:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:431:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:433:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:435:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:437:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ [ 30%] Linking CXX executable pfsintiff [ 30%] Built target pfsintiff [ 30%] Building CXX object src/fileformat/CMakeFiles/pfsouttiff.dir/pfsouttiff.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/pfsouttiff.cpp:37: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~ In file included from /tmp/work/graphics/pfstools/work/.buildlink/include/tiffio.h:31, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:31: /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:40:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 40 | uint16 comp; /// compression type | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:41:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 41 | uint16 phot; /// type of photometric data | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:43:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 43 | uint16 bps; /// bits per sample | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:44:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 44 | uint16 nSamples; /// number of channels in tiff file (only 1-3 are used) | ^~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ [ 31%] Building CXX object src/fileformat/CMakeFiles/pfsouttiff.dir/hdrtiffio.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:37: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~ In file included from /tmp/work/graphics/pfstools/work/.buildlink/include/tiffio.h:31, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:31: /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:38:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 38 | uint32 width, height; | ^~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:40:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 40 | uint16 comp; /// compression type | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:41:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 41 | uint16 phot; /// type of photometric data | ^~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:43:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 43 | uint16 bps; /// bits per sample | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.h:44:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 44 | uint16 nSamples; /// number of channels in tiff file (only 1-3 are used) | ^~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In constructor 'HDRTiffReader::HDRTiffReader(const char*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:80:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 80 | uint16 * extra_sample_types=0; | ^~~~~~~~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:81:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 81 | uint16 extra_samples_per_pixel=0; | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffReader::readImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:180:13: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 180 | uint16* wp; | ^~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:181:12: warning: 'uint8' is deprecated [-Wdeprecated-declarations] 181 | uint8* bp; | ^~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:80:37: note: declared here 80 | typedef TIFF_MSC_DEPRECATED uint8_t uint8 TIFF_GCC_DEPRECATED; | ^~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:186:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 186 | uint32 imagelength; | ^~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:191:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 191 | uint32 scanlinesize = TIFFScanlineSize(tif); | ^~~~~~~~~~~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:198:14: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 198 | for(uint32 row = 0; row < imagelength; row++) | ^~~ /tmp/work/graphics/pfstools/work/.buildlink/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:409:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:411:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:413:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:415:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:417:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:419:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ cc1plus: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:423:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:425:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ cc1plus: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:429:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:431:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:433:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:435:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)', inlined from 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)' at /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:437:15: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In member function 'void HDRTiffWriter::writeImage(pfs::Array2D*, pfs::Array2D*, pfs::Array2D*)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp: In function 'int TIFFWriteIFD(FILE*, short unsigned int, short unsigned int, long unsigned int, long unsigned int)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:457:26: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 457 | (unsigned long&)ifd[8] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:474:32: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 474 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:460:28: warning: writing 8 bytes into a region of size 4 [-Wstringop-overflow=] 460 | (unsigned long&)ifd[8] = value; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/fileformat/hdrtiffio.cpp:452:17: note: at offset 8 into destination object 'ifd' of size 12 452 | unsigned char ifd[12]; | ^~~ [ 32%] Linking CXX executable pfsouttiff [ 32%] Built target pfsouttiff [ 32%] Building CXX object src/filter/CMakeFiles/pfsgamma.dir/pfsgamma.cpp.o [ 33%] Linking CXX executable pfsgamma [ 33%] Built target pfsgamma [ 34%] Building CXX object src/filter/CMakeFiles/pfsclamp.dir/pfsclamp.cpp.o [ 35%] Linking CXX executable pfsclamp [ 35%] Built target pfsclamp [ 36%] Building CXX object src/filter/CMakeFiles/pfstag.dir/pfstag.cpp.o [ 37%] Linking CXX executable pfstag [ 37%] Built target pfstag [ 38%] Building CXX object src/filter/CMakeFiles/pfssize.dir/pfssize.cpp.o [ 38%] Linking CXX executable pfssize [ 38%] Built target pfssize [ 39%] Building CXX object src/filter/CMakeFiles/pfsextractchannels.dir/pfsextractchannels.cpp.o [ 40%] Linking CXX executable pfsextractchannels [ 40%] Built target pfsextractchannels [ 40%] Building CXX object src/filter/CMakeFiles/pfspanoramic.dir/pfspanoramic.cpp.o [ 41%] Linking CXX executable pfspanoramic [ 41%] Built target pfspanoramic [ 42%] Building CXX object src/filter/CMakeFiles/pfsrotate.dir/pfsrotate.cpp.o [ 43%] Linking CXX executable pfsrotate [ 43%] Built target pfsrotate [ 44%] Building CXX object src/filter/CMakeFiles/pfsflip.dir/pfsflip.cpp.o [ 45%] Linking CXX executable pfsflip [ 45%] Built target pfsflip [ 46%] Building CXX object src/filter/CMakeFiles/pfscut.dir/pfscut.cpp.o [ 47%] Linking CXX executable pfscut [ 47%] Built target pfscut [ 48%] Building CXX object src/filter/CMakeFiles/pfspad.dir/pfspad.cpp.o [ 49%] Linking CXX executable pfspad [ 49%] Built target pfspad [ 50%] Building CXX object src/filter/CMakeFiles/pfscat.dir/pfscat.cpp.o [ 50%] Linking CXX executable pfscat [ 50%] Built target pfscat [ 51%] Building CXX object src/filter/CMakeFiles/pfsabsolute.dir/pfsabsolute.cpp.o [ 52%] Linking CXX executable pfsabsolute [ 52%] Built target pfsabsolute [ 53%] Building CXX object src/filter/CMakeFiles/pfsretime.dir/pfsretime.cpp.o [ 54%] Linking CXX executable pfsretime [ 54%] Built target pfsretime [ 55%] Building CXX object src/filter/CMakeFiles/pfscolortransform.dir/pfscolortransform.cpp.o [ 56%] Linking CXX executable pfscolortransform [ 56%] Built target pfscolortransform [ 56%] Building CXX object src/filter/CMakeFiles/pfsdisplayfunction.dir/pfsdisplayfunction.cpp.o [ 57%] Building CXX object src/filter/CMakeFiles/pfsdisplayfunction.dir/display_function.cpp.o [ 58%] Linking CXX executable pfsdisplayfunction [ 58%] Built target pfsdisplayfunction [ 59%] Building CXX object src/tmo/drago03/CMakeFiles/pfstmo_drago03.dir/pfstmo_drago03.cpp.o [ 60%] Building CXX object src/tmo/drago03/CMakeFiles/pfstmo_drago03.dir/tmo_drago03.cpp.o [ 61%] Linking CXX executable pfstmo_drago03 [ 61%] Built target pfstmo_drago03 [ 62%] Building CXX object src/tmo/mantiuk06/CMakeFiles/pfstmo_mantiuk06.dir/pfstmo_mantiuk06.cpp.o [ 63%] Building CXX object src/tmo/mantiuk06/CMakeFiles/pfstmo_mantiuk06.dir/contrast_domain.cpp.o [ 64%] Linking CXX executable pfstmo_mantiuk06 [ 64%] Built target pfstmo_mantiuk06 [ 65%] Building CXX object src/tmo/reinhard02/CMakeFiles/pfstmo_reinhard02.dir/pfstmo_reinhard02.cpp.o [ 66%] Building CXX object src/tmo/reinhard02/CMakeFiles/pfstmo_reinhard02.dir/tmo_reinhard02.cpp.o [ 67%] Building CXX object src/tmo/reinhard02/CMakeFiles/pfstmo_reinhard02.dir/approx.cpp.o [ 68%] Linking CXX executable pfstmo_reinhard02 [ 68%] Built target pfstmo_reinhard02 [ 69%] Building CXX object src/tmo/reinhard05/CMakeFiles/pfstmo_reinhard05.dir/pfstmo_reinhard05.cpp.o [ 70%] Building CXX object src/tmo/reinhard05/CMakeFiles/pfstmo_reinhard05.dir/tmo_reinhard05.cpp.o [ 71%] Linking CXX executable pfstmo_reinhard05 [ 71%] Built target pfstmo_reinhard05 [ 72%] Building CXX object src/tmo/pattanaik00/CMakeFiles/pfstmo_pattanaik00.dir/pfstmo_pattanaik00.cpp.o [ 73%] Building CXX object src/tmo/pattanaik00/CMakeFiles/pfstmo_pattanaik00.dir/tmo_pattanaik00.cpp.o [ 73%] Linking CXX executable pfstmo_pattanaik00 [ 73%] Built target pfstmo_pattanaik00 [ 74%] Building CXX object src/tmo/fattal02/CMakeFiles/pfstmo_fattal02.dir/pfstmo_fattal02.cpp.o [ 75%] Building CXX object src/tmo/fattal02/CMakeFiles/pfstmo_fattal02.dir/tmo_fattal02.cpp.o [ 76%] Building CXX object src/tmo/fattal02/CMakeFiles/pfstmo_fattal02.dir/pde.cpp.o [ 77%] Building CXX object src/tmo/fattal02/CMakeFiles/pfstmo_fattal02.dir/pde_fft.cpp.o [ 77%] Linking CXX executable pfstmo_fattal02 [ 77%] Built target pfstmo_fattal02 [ 78%] Building CXX object src/tmo/durand02/CMakeFiles/pfstmo_durand02.dir/pfstmo_durand02.cpp.o [ 78%] Building CXX object src/tmo/durand02/CMakeFiles/pfstmo_durand02.dir/tmo_durand02.cpp.o [ 79%] Building CXX object src/tmo/durand02/CMakeFiles/pfstmo_durand02.dir/bilateral.cpp.o [ 80%] Building CXX object src/tmo/durand02/CMakeFiles/pfstmo_durand02.dir/fastbilateral.cpp.o [ 81%] Linking CXX executable pfstmo_durand02 [ 81%] Built target pfstmo_durand02 [ 82%] Building CXX object src/tmo/mai11/CMakeFiles/pfstmo_mai11.dir/pfstmo_mai11.cpp.o [ 83%] Building CXX object src/tmo/mai11/CMakeFiles/pfstmo_mai11.dir/compression_tmo.cpp.o [ 83%] Linking CXX executable pfstmo_mai11 [ 83%] Built target pfstmo_mai11 [ 84%] Building CXX object src/tmo/ferradans11/CMakeFiles/pfstmo_ferradans11.dir/pfstmo_ferradans11.cpp.o [ 85%] Building CXX object src/tmo/ferradans11/CMakeFiles/pfstmo_ferradans11.dir/Imagen.cpp.o [ 86%] Building CXX object src/tmo/ferradans11/CMakeFiles/pfstmo_ferradans11.dir/tmo_ferradans11.cpp.o /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp: In function 'double quick_select(float*, int)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:126:17: note: in expansion of macro 'ELEM_SWAP' 126 | ELEM_SWAP(arr[low], arr[high]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:132:41: note: in expansion of macro 'ELEM_SWAP' 132 | if (arr[middle] > arr[high]) ELEM_SWAP(arr[middle], arr[high]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:133:41: note: in expansion of macro 'ELEM_SWAP' 133 | if (arr[low] > arr[high]) ELEM_SWAP(arr[low], arr[high]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:134:41: note: in expansion of macro 'ELEM_SWAP' 134 | if (arr[middle] > arr[low]) ELEM_SWAP(arr[middle], arr[low]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:137:9: note: in expansion of macro 'ELEM_SWAP' 137 | ELEM_SWAP(arr[middle], arr[low+1]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:149:13: note: in expansion of macro 'ELEM_SWAP' 149 | ELEM_SWAP(arr[ll], arr[hh]) ; | ^~~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:110:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 110 | #define ELEM_SWAP(a,b) { register float t=(a);(a)=(b);(b)=t; } | ^ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/ferradans11/tmo_ferradans11.cpp:153:9: note: in expansion of macro 'ELEM_SWAP' 153 | ELEM_SWAP(arr[low], arr[hh]) ; | ^~~~~~~~~ [ 87%] Linking CXX executable pfstmo_ferradans11 [ 87%] Built target pfstmo_ferradans11 [ 88%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/pfstmo_mantiuk08.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/pfstmo_mantiuk08.cpp:47: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.h:170:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr datmo_compute_conditional_density( int width, int height, const float *L, pfstmo_progress_callback progress_cb = NULL ); | ^~~~~~~~ In file included from /opt/local/gcc13/include/c++/13.4.0/memory:78, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/pfstmo_mantiuk08.cpp:41: /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/pfstmo_mantiuk08.cpp: In function 'void tmo_mantiuk08(int, char**)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/pfstmo_mantiuk08.cpp:309:14: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 309 | std::auto_ptr C = datmo_compute_conditional_density( cols, rows, inY->getRawData(), progress_report ); | ^~~~~~~~ /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ [ 89%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/display_adaptive_tmo.cpp.o In file included from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:40: /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.h:170:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 170 | std::auto_ptr datmo_compute_conditional_density( int width, int height, const float *L, pfstmo_progress_callback progress_cb = NULL ); | ^~~~~~~~ In file included from /opt/local/gcc13/include/c++/13.4.0/memory:78, from /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:38: /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:381:6: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 381 | std::auto_ptr datmo_compute_conditional_density( int width, int height, const float *L, pfstmo_progress_callback progress_cb ) | ^~~~~~~~ /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp: In function 'std::auto_ptr datmo_compute_conditional_density(int, int, const float*, pfstmo_progress_callback)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:391:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 391 | std::auto_ptr C(new conditional_density()); | ^~~~~~~~ /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:482:16: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 482 | return (std::auto_ptr)C; | ^~~~~~~~ /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp: In function 'int datmo_tonemap(float*, float*, float*, int, int, const float*, const float*, const float*, const float*, DisplayFunction*, DisplaySize*, float, float, float, pfstmo_progress_callback)': /tmp/work/graphics/pfstools/work/pfstools-2.2.0/src/tmo/mantiuk08/display_adaptive_tmo.cpp:1018:8: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1018 | std::auto_ptr C(datmo_compute_conditional_density( width, height, L_in, progress_cb )); | ^~~~~~~~ /opt/local/gcc13/include/c++/13.4.0/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ [ 90%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/display_function.cpp.o [ 90%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/display_size.cpp.o [ 91%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/cqpminimizer.cpp.o [ 92%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/initial_point.cpp.o [ 93%] Building CXX object src/tmo/mantiuk08/CMakeFiles/pfstmo_mantiuk08.dir/cqp/mg_pdip.cpp.o [ 94%] Linking CXX executable pfstmo_mantiuk08 [ 94%] Built target pfstmo_mantiuk08 [ 95%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/pfshdrcalibrate.cpp.o [ 96%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/responses.cpp.o [ 97%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/robertson02.cpp.o [ 98%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/mitsunaga99.cpp.o [ 99%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/mitsunaga99_numerical.cpp.o [100%] Building CXX object src/camera/CMakeFiles/pfshdrcalibrate.dir/nrutil.cpp.o [100%] Linking CXX executable pfshdrcalibrate [100%] Built target pfshdrcalibrate