Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-build-392941-71535/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/freeimage-3.18.0-8.0.4.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-build-392941-71535/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.urGKU4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf FreeImage + /usr/bin/unzip -qq /builddir/build/SOURCES/FreeImage3180.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd FreeImage + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/FreeImage_unbundle.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/FreeImage_doxygen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/FreeImage_bigendian.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/CVE-2019-12211_2019-12213.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/substream.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1001-freeimage-libtiff44.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-freeimage-libraw-0.21.x.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -r Source/LibJPEG Source/LibJXR Source/LibOpenJPEG Source/LibPNG Source/LibRawLite Source/LibTIFF4 Source/LibWebP Source/ZLib Source/OpenEXR ++ find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/BatchLoad.cpp + sed -i 's|\r||g' ./Examples/Generic/BatchLoad.cpp.new + touch -r ./Examples/Generic/BatchLoad.cpp ./Examples/Generic/BatchLoad.cpp.new + mv ./Examples/Generic/BatchLoad.cpp.new ./Examples/Generic/BatchLoad.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/CloneMultiPage.cpp + sed -i 's|\r||g' ./Examples/Generic/CloneMultiPage.cpp.new + touch -r ./Examples/Generic/CloneMultiPage.cpp ./Examples/Generic/CloneMultiPage.cpp.new + mv ./Examples/Generic/CloneMultiPage.cpp.new ./Examples/Generic/CloneMultiPage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/CreateAlpha.cpp + sed -i 's|\r||g' ./Examples/Generic/CreateAlpha.cpp.new + touch -r ./Examples/Generic/CreateAlpha.cpp ./Examples/Generic/CreateAlpha.cpp.new + mv ./Examples/Generic/CreateAlpha.cpp.new ./Examples/Generic/CreateAlpha.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/FIFImportExport.cpp + sed -i 's|\r||g' ./Examples/Generic/FIFImportExport.cpp.new + touch -r ./Examples/Generic/FIFImportExport.cpp ./Examples/Generic/FIFImportExport.cpp.new + mv ./Examples/Generic/FIFImportExport.cpp.new ./Examples/Generic/FIFImportExport.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/FIIO_Mem.cpp + sed -i 's|\r||g' ./Examples/Generic/FIIO_Mem.cpp.new + touch -r ./Examples/Generic/FIIO_Mem.cpp ./Examples/Generic/FIIO_Mem.cpp.new + mv ./Examples/Generic/FIIO_Mem.cpp.new ./Examples/Generic/FIIO_Mem.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/FIIO_Mem.h + sed -i 's|\r||g' ./Examples/Generic/FIIO_Mem.h.new + touch -r ./Examples/Generic/FIIO_Mem.h ./Examples/Generic/FIIO_Mem.h.new + mv ./Examples/Generic/FIIO_Mem.h.new ./Examples/Generic/FIIO_Mem.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/LoadFromHandle.cpp + sed -i 's|\r||g' ./Examples/Generic/LoadFromHandle.cpp.new + touch -r ./Examples/Generic/LoadFromHandle.cpp ./Examples/Generic/LoadFromHandle.cpp.new + mv ./Examples/Generic/LoadFromHandle.cpp.new ./Examples/Generic/LoadFromHandle.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/LoadFromMemory-classified.cpp + sed -i 's|\r||g' ./Examples/Generic/LoadFromMemory-classified.cpp.new + touch -r ./Examples/Generic/LoadFromMemory-classified.cpp ./Examples/Generic/LoadFromMemory-classified.cpp.new + mv ./Examples/Generic/LoadFromMemory-classified.cpp.new ./Examples/Generic/LoadFromMemory-classified.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/LoadFromMemory.cpp + sed -i 's|\r||g' ./Examples/Generic/LoadFromMemory.cpp.new + touch -r ./Examples/Generic/LoadFromMemory.cpp ./Examples/Generic/LoadFromMemory.cpp.new + mv ./Examples/Generic/LoadFromMemory.cpp.new ./Examples/Generic/LoadFromMemory.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Generic/ShowMetadata.cpp + sed -i 's|\r||g' ./Examples/Generic/ShowMetadata.cpp.new + touch -r ./Examples/Generic/ShowMetadata.cpp ./Examples/Generic/ShowMetadata.cpp.new + mv ./Examples/Generic/ShowMetadata.cpp.new ./Examples/Generic/ShowMetadata.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Linux/linux-gtk.c + sed -i 's|\r||g' ./Examples/Linux/linux-gtk.c.new + touch -r ./Examples/Linux/linux-gtk.c ./Examples/Linux/linux-gtk.c.new + mv ./Examples/Linux/linux-gtk.c.new ./Examples/Linux/linux-gtk.c + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Linux/linux-svgalib.c + sed -i 's|\r||g' ./Examples/Linux/linux-svgalib.c.new + touch -r ./Examples/Linux/linux-svgalib.c ./Examples/Linux/linux-svgalib.c.new + mv ./Examples/Linux/linux-svgalib.c.new ./Examples/Linux/linux-svgalib.c + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Linux/Makefile + sed -i 's|\r||g' ./Examples/Linux/Makefile.new + touch -r ./Examples/Linux/Makefile ./Examples/Linux/Makefile.new + mv ./Examples/Linux/Makefile.new ./Examples/Linux/Makefile + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/OpenGL/TextureManager/readme.txt + sed -i 's|\r||g' ./Examples/OpenGL/TextureManager/readme.txt.new + touch -r ./Examples/OpenGL/TextureManager/readme.txt ./Examples/OpenGL/TextureManager/readme.txt.new + mv ./Examples/OpenGL/TextureManager/readme.txt.new ./Examples/OpenGL/TextureManager/readme.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/OpenGL/TextureManager/TextureManager.cpp + sed -i 's|\r||g' ./Examples/OpenGL/TextureManager/TextureManager.cpp.new + touch -r ./Examples/OpenGL/TextureManager/TextureManager.cpp ./Examples/OpenGL/TextureManager/TextureManager.cpp.new + mv ./Examples/OpenGL/TextureManager/TextureManager.cpp.new ./Examples/OpenGL/TextureManager/TextureManager.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/OpenGL/TextureManager/TextureManager.h + sed -i 's|\r||g' ./Examples/OpenGL/TextureManager/TextureManager.h.new + touch -r ./Examples/OpenGL/TextureManager/TextureManager.h ./Examples/OpenGL/TextureManager/TextureManager.h.new + mv ./Examples/OpenGL/TextureManager/TextureManager.h.new ./Examples/OpenGL/TextureManager/TextureManager.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Plugin/PluginCradle.cpp + sed -i 's|\r||g' ./Examples/Plugin/PluginCradle.cpp.new + touch -r ./Examples/Plugin/PluginCradle.cpp ./Examples/Plugin/PluginCradle.cpp.new + mv ./Examples/Plugin/PluginCradle.cpp.new ./Examples/Plugin/PluginCradle.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Examples/Plugin/PluginCradle.h + sed -i 's|\r||g' ./Examples/Plugin/PluginCradle.h.new + touch -r ./Examples/Plugin/PluginCradle.h ./Examples/Plugin/PluginCradle.h.new + mv ./Examples/Plugin/PluginCradle.h.new ./Examples/Plugin/PluginCradle.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./license-fi.txt + sed -i 's|\r||g' ./license-fi.txt.new + touch -r ./license-fi.txt ./license-fi.txt.new + mv ./license-fi.txt.new ./license-fi.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./license-gplv2.txt + sed -i 's|\r||g' ./license-gplv2.txt.new + touch -r ./license-gplv2.txt ./license-gplv2.txt.new + mv ./license-gplv2.txt.new ./license-gplv2.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./license-gplv3.txt + sed -i 's|\r||g' ./license-gplv3.txt.new + touch -r ./license-gplv3.txt ./license-gplv3.txt.new + mv ./license-gplv3.txt.new ./license-gplv3.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Makefile + sed -i 's|\r||g' ./Makefile.new + touch -r ./Makefile ./Makefile.new + mv ./Makefile.new ./Makefile + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/CacheFile.h + sed -i 's|\r||g' ./Source/CacheFile.h.new + touch -r ./Source/CacheFile.h ./Source/CacheFile.h.new + mv ./Source/CacheFile.h.new ./Source/CacheFile.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/BitmapAccess.cpp + sed -i 's|\r||g' ./Source/FreeImage/BitmapAccess.cpp.new + touch -r ./Source/FreeImage/BitmapAccess.cpp ./Source/FreeImage/BitmapAccess.cpp.new + mv ./Source/FreeImage/BitmapAccess.cpp.new ./Source/FreeImage/BitmapAccess.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/CacheFile.cpp + sed -i 's|\r||g' ./Source/FreeImage/CacheFile.cpp.new + touch -r ./Source/FreeImage/CacheFile.cpp ./Source/FreeImage/CacheFile.cpp.new + mv ./Source/FreeImage/CacheFile.cpp.new ./Source/FreeImage/CacheFile.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ColorLookup.cpp + sed -i 's|\r||g' ./Source/FreeImage/ColorLookup.cpp.new + touch -r ./Source/FreeImage/ColorLookup.cpp ./Source/FreeImage/ColorLookup.cpp.new + mv ./Source/FreeImage/ColorLookup.cpp.new ./Source/FreeImage/ColorLookup.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion.cpp.new + touch -r ./Source/FreeImage/Conversion.cpp ./Source/FreeImage/Conversion.cpp.new + mv ./Source/FreeImage/Conversion.cpp.new ./Source/FreeImage/Conversion.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion16_555.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion16_555.cpp.new + touch -r ./Source/FreeImage/Conversion16_555.cpp ./Source/FreeImage/Conversion16_555.cpp.new + mv ./Source/FreeImage/Conversion16_555.cpp.new ./Source/FreeImage/Conversion16_555.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion16_565.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion16_565.cpp.new + touch -r ./Source/FreeImage/Conversion16_565.cpp ./Source/FreeImage/Conversion16_565.cpp.new + mv ./Source/FreeImage/Conversion16_565.cpp.new ./Source/FreeImage/Conversion16_565.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion24.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion24.cpp.new + touch -r ./Source/FreeImage/Conversion24.cpp ./Source/FreeImage/Conversion24.cpp.new + mv ./Source/FreeImage/Conversion24.cpp.new ./Source/FreeImage/Conversion24.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion32.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion32.cpp.new + touch -r ./Source/FreeImage/Conversion32.cpp ./Source/FreeImage/Conversion32.cpp.new + mv ./Source/FreeImage/Conversion32.cpp.new ./Source/FreeImage/Conversion32.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion4.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion4.cpp.new + touch -r ./Source/FreeImage/Conversion4.cpp ./Source/FreeImage/Conversion4.cpp.new + mv ./Source/FreeImage/Conversion4.cpp.new ./Source/FreeImage/Conversion4.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Conversion8.cpp + sed -i 's|\r||g' ./Source/FreeImage/Conversion8.cpp.new + touch -r ./Source/FreeImage/Conversion8.cpp ./Source/FreeImage/Conversion8.cpp.new + mv ./Source/FreeImage/Conversion8.cpp.new ./Source/FreeImage/Conversion8.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionFloat.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionFloat.cpp.new + touch -r ./Source/FreeImage/ConversionFloat.cpp ./Source/FreeImage/ConversionFloat.cpp.new + mv ./Source/FreeImage/ConversionFloat.cpp.new ./Source/FreeImage/ConversionFloat.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionRGB16.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionRGB16.cpp.new + touch -r ./Source/FreeImage/ConversionRGB16.cpp ./Source/FreeImage/ConversionRGB16.cpp.new + mv ./Source/FreeImage/ConversionRGB16.cpp.new ./Source/FreeImage/ConversionRGB16.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionRGBA16.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionRGBA16.cpp.new + touch -r ./Source/FreeImage/ConversionRGBA16.cpp ./Source/FreeImage/ConversionRGBA16.cpp.new + mv ./Source/FreeImage/ConversionRGBA16.cpp.new ./Source/FreeImage/ConversionRGBA16.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionRGBAF.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionRGBAF.cpp.new + touch -r ./Source/FreeImage/ConversionRGBAF.cpp ./Source/FreeImage/ConversionRGBAF.cpp.new + mv ./Source/FreeImage/ConversionRGBAF.cpp.new ./Source/FreeImage/ConversionRGBAF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionRGBF.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionRGBF.cpp.new + touch -r ./Source/FreeImage/ConversionRGBF.cpp ./Source/FreeImage/ConversionRGBF.cpp.new + mv ./Source/FreeImage/ConversionRGBF.cpp.new ./Source/FreeImage/ConversionRGBF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionType.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionType.cpp.new + touch -r ./Source/FreeImage/ConversionType.cpp ./Source/FreeImage/ConversionType.cpp.new + mv ./Source/FreeImage/ConversionType.cpp.new ./Source/FreeImage/ConversionType.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ConversionUINT16.cpp + sed -i 's|\r||g' ./Source/FreeImage/ConversionUINT16.cpp.new + touch -r ./Source/FreeImage/ConversionUINT16.cpp ./Source/FreeImage/ConversionUINT16.cpp.new + mv ./Source/FreeImage/ConversionUINT16.cpp.new ./Source/FreeImage/ConversionUINT16.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/FreeImage.cpp + sed -i 's|\r||g' ./Source/FreeImage/FreeImage.cpp.new + touch -r ./Source/FreeImage/FreeImage.cpp ./Source/FreeImage/FreeImage.cpp.new + mv ./Source/FreeImage/FreeImage.cpp.new ./Source/FreeImage/FreeImage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/FreeImageC.c + sed -i 's|\r||g' ./Source/FreeImage/FreeImageC.c.new + touch -r ./Source/FreeImage/FreeImageC.c ./Source/FreeImage/FreeImageC.c.new + mv ./Source/FreeImage/FreeImageC.c.new ./Source/FreeImage/FreeImageC.c + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/FreeImageIO.cpp + sed -i 's|\r||g' ./Source/FreeImage/FreeImageIO.cpp.new + touch -r ./Source/FreeImage/FreeImageIO.cpp ./Source/FreeImage/FreeImageIO.cpp.new + mv ./Source/FreeImage/FreeImageIO.cpp.new ./Source/FreeImage/FreeImageIO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/GetType.cpp + sed -i 's|\r||g' ./Source/FreeImage/GetType.cpp.new + touch -r ./Source/FreeImage/GetType.cpp ./Source/FreeImage/GetType.cpp.new + mv ./Source/FreeImage/GetType.cpp.new ./Source/FreeImage/GetType.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Halftoning.cpp + sed -i 's|\r||g' ./Source/FreeImage/Halftoning.cpp.new + touch -r ./Source/FreeImage/Halftoning.cpp ./Source/FreeImage/Halftoning.cpp.new + mv ./Source/FreeImage/Halftoning.cpp.new ./Source/FreeImage/Halftoning.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/J2KHelper.cpp + sed -i 's|\r||g' ./Source/FreeImage/J2KHelper.cpp.new + touch -r ./Source/FreeImage/J2KHelper.cpp ./Source/FreeImage/J2KHelper.cpp.new + mv ./Source/FreeImage/J2KHelper.cpp.new ./Source/FreeImage/J2KHelper.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/J2KHelper.h + sed -i 's|\r||g' ./Source/FreeImage/J2KHelper.h.new + touch -r ./Source/FreeImage/J2KHelper.h ./Source/FreeImage/J2KHelper.h.new + mv ./Source/FreeImage/J2KHelper.h.new ./Source/FreeImage/J2KHelper.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/LFPQuantizer.cpp + sed -i 's|\r||g' ./Source/FreeImage/LFPQuantizer.cpp.new + touch -r ./Source/FreeImage/LFPQuantizer.cpp ./Source/FreeImage/LFPQuantizer.cpp.new + mv ./Source/FreeImage/LFPQuantizer.cpp.new ./Source/FreeImage/LFPQuantizer.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/MemoryIO.cpp + sed -i 's|\r||g' ./Source/FreeImage/MemoryIO.cpp.new + touch -r ./Source/FreeImage/MemoryIO.cpp ./Source/FreeImage/MemoryIO.cpp.new + mv ./Source/FreeImage/MemoryIO.cpp.new ./Source/FreeImage/MemoryIO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/MNGHelper.cpp + sed -i 's|\r||g' ./Source/FreeImage/MNGHelper.cpp.new + touch -r ./Source/FreeImage/MNGHelper.cpp ./Source/FreeImage/MNGHelper.cpp.new + mv ./Source/FreeImage/MNGHelper.cpp.new ./Source/FreeImage/MNGHelper.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/MultiPage.cpp + sed -i 's|\r||g' ./Source/FreeImage/MultiPage.cpp.new + touch -r ./Source/FreeImage/MultiPage.cpp ./Source/FreeImage/MultiPage.cpp.new + mv ./Source/FreeImage/MultiPage.cpp.new ./Source/FreeImage/MultiPage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/NNQuantizer.cpp + sed -i 's|\r||g' ./Source/FreeImage/NNQuantizer.cpp.new + touch -r ./Source/FreeImage/NNQuantizer.cpp ./Source/FreeImage/NNQuantizer.cpp.new + mv ./Source/FreeImage/NNQuantizer.cpp.new ./Source/FreeImage/NNQuantizer.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PixelAccess.cpp + sed -i 's|\r||g' ./Source/FreeImage/PixelAccess.cpp.new + touch -r ./Source/FreeImage/PixelAccess.cpp ./Source/FreeImage/PixelAccess.cpp.new + mv ./Source/FreeImage/PixelAccess.cpp.new ./Source/FreeImage/PixelAccess.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/Plugin.cpp + sed -i 's|\r||g' ./Source/FreeImage/Plugin.cpp.new + touch -r ./Source/FreeImage/Plugin.cpp ./Source/FreeImage/Plugin.cpp.new + mv ./Source/FreeImage/Plugin.cpp.new ./Source/FreeImage/Plugin.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginBMP.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginBMP.cpp.new + touch -r ./Source/FreeImage/PluginBMP.cpp ./Source/FreeImage/PluginBMP.cpp.new + mv ./Source/FreeImage/PluginBMP.cpp.new ./Source/FreeImage/PluginBMP.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginCUT.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginCUT.cpp.new + touch -r ./Source/FreeImage/PluginCUT.cpp ./Source/FreeImage/PluginCUT.cpp.new + mv ./Source/FreeImage/PluginCUT.cpp.new ./Source/FreeImage/PluginCUT.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginDDS.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginDDS.cpp.new + touch -r ./Source/FreeImage/PluginDDS.cpp ./Source/FreeImage/PluginDDS.cpp.new + mv ./Source/FreeImage/PluginDDS.cpp.new ./Source/FreeImage/PluginDDS.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginEXR.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginEXR.cpp.new + touch -r ./Source/FreeImage/PluginEXR.cpp ./Source/FreeImage/PluginEXR.cpp.new + mv ./Source/FreeImage/PluginEXR.cpp.new ./Source/FreeImage/PluginEXR.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginG3.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginG3.cpp.new + touch -r ./Source/FreeImage/PluginG3.cpp ./Source/FreeImage/PluginG3.cpp.new + mv ./Source/FreeImage/PluginG3.cpp.new ./Source/FreeImage/PluginG3.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginGIF.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginGIF.cpp.new + touch -r ./Source/FreeImage/PluginGIF.cpp ./Source/FreeImage/PluginGIF.cpp.new + mv ./Source/FreeImage/PluginGIF.cpp.new ./Source/FreeImage/PluginGIF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginHDR.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginHDR.cpp.new + touch -r ./Source/FreeImage/PluginHDR.cpp ./Source/FreeImage/PluginHDR.cpp.new + mv ./Source/FreeImage/PluginHDR.cpp.new ./Source/FreeImage/PluginHDR.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginICO.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginICO.cpp.new + touch -r ./Source/FreeImage/PluginICO.cpp ./Source/FreeImage/PluginICO.cpp.new + mv ./Source/FreeImage/PluginICO.cpp.new ./Source/FreeImage/PluginICO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginIFF.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginIFF.cpp.new + touch -r ./Source/FreeImage/PluginIFF.cpp ./Source/FreeImage/PluginIFF.cpp.new + mv ./Source/FreeImage/PluginIFF.cpp.new ./Source/FreeImage/PluginIFF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginJ2K.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginJ2K.cpp.new + touch -r ./Source/FreeImage/PluginJ2K.cpp ./Source/FreeImage/PluginJ2K.cpp.new + mv ./Source/FreeImage/PluginJ2K.cpp.new ./Source/FreeImage/PluginJ2K.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginJNG.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginJNG.cpp.new + touch -r ./Source/FreeImage/PluginJNG.cpp ./Source/FreeImage/PluginJNG.cpp.new + mv ./Source/FreeImage/PluginJNG.cpp.new ./Source/FreeImage/PluginJNG.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginJP2.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginJP2.cpp.new + touch -r ./Source/FreeImage/PluginJP2.cpp ./Source/FreeImage/PluginJP2.cpp.new + mv ./Source/FreeImage/PluginJP2.cpp.new ./Source/FreeImage/PluginJP2.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginJPEG.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginJPEG.cpp.new + touch -r ./Source/FreeImage/PluginJPEG.cpp ./Source/FreeImage/PluginJPEG.cpp.new + mv ./Source/FreeImage/PluginJPEG.cpp.new ./Source/FreeImage/PluginJPEG.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginJXR.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginJXR.cpp.new + touch -r ./Source/FreeImage/PluginJXR.cpp ./Source/FreeImage/PluginJXR.cpp.new + mv ./Source/FreeImage/PluginJXR.cpp.new ./Source/FreeImage/PluginJXR.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginKOALA.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginKOALA.cpp.new + touch -r ./Source/FreeImage/PluginKOALA.cpp ./Source/FreeImage/PluginKOALA.cpp.new + mv ./Source/FreeImage/PluginKOALA.cpp.new ./Source/FreeImage/PluginKOALA.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginMNG.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginMNG.cpp.new + touch -r ./Source/FreeImage/PluginMNG.cpp ./Source/FreeImage/PluginMNG.cpp.new + mv ./Source/FreeImage/PluginMNG.cpp.new ./Source/FreeImage/PluginMNG.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPCD.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPCD.cpp.new + touch -r ./Source/FreeImage/PluginPCD.cpp ./Source/FreeImage/PluginPCD.cpp.new + mv ./Source/FreeImage/PluginPCD.cpp.new ./Source/FreeImage/PluginPCD.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPCX.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPCX.cpp.new + touch -r ./Source/FreeImage/PluginPCX.cpp ./Source/FreeImage/PluginPCX.cpp.new + mv ./Source/FreeImage/PluginPCX.cpp.new ./Source/FreeImage/PluginPCX.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPFM.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPFM.cpp.new + touch -r ./Source/FreeImage/PluginPFM.cpp ./Source/FreeImage/PluginPFM.cpp.new + mv ./Source/FreeImage/PluginPFM.cpp.new ./Source/FreeImage/PluginPFM.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPICT.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPICT.cpp.new + touch -r ./Source/FreeImage/PluginPICT.cpp ./Source/FreeImage/PluginPICT.cpp.new + mv ./Source/FreeImage/PluginPICT.cpp.new ./Source/FreeImage/PluginPICT.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPNG.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPNG.cpp.new + touch -r ./Source/FreeImage/PluginPNG.cpp ./Source/FreeImage/PluginPNG.cpp.new + mv ./Source/FreeImage/PluginPNG.cpp.new ./Source/FreeImage/PluginPNG.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPNM.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPNM.cpp.new + touch -r ./Source/FreeImage/PluginPNM.cpp ./Source/FreeImage/PluginPNM.cpp.new + mv ./Source/FreeImage/PluginPNM.cpp.new ./Source/FreeImage/PluginPNM.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginPSD.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginPSD.cpp.new + touch -r ./Source/FreeImage/PluginPSD.cpp ./Source/FreeImage/PluginPSD.cpp.new + mv ./Source/FreeImage/PluginPSD.cpp.new ./Source/FreeImage/PluginPSD.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginRAS.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginRAS.cpp.new + touch -r ./Source/FreeImage/PluginRAS.cpp ./Source/FreeImage/PluginRAS.cpp.new + mv ./Source/FreeImage/PluginRAS.cpp.new ./Source/FreeImage/PluginRAS.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginRAW.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginRAW.cpp.new + touch -r ./Source/FreeImage/PluginRAW.cpp ./Source/FreeImage/PluginRAW.cpp.new + mv ./Source/FreeImage/PluginRAW.cpp.new ./Source/FreeImage/PluginRAW.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginSGI.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginSGI.cpp.new + touch -r ./Source/FreeImage/PluginSGI.cpp ./Source/FreeImage/PluginSGI.cpp.new + mv ./Source/FreeImage/PluginSGI.cpp.new ./Source/FreeImage/PluginSGI.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginTARGA.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginTARGA.cpp.new + touch -r ./Source/FreeImage/PluginTARGA.cpp ./Source/FreeImage/PluginTARGA.cpp.new + mv ./Source/FreeImage/PluginTARGA.cpp.new ./Source/FreeImage/PluginTARGA.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginTIFF.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginTIFF.cpp.new + touch -r ./Source/FreeImage/PluginTIFF.cpp ./Source/FreeImage/PluginTIFF.cpp.new + mv ./Source/FreeImage/PluginTIFF.cpp.new ./Source/FreeImage/PluginTIFF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginWBMP.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginWBMP.cpp.new + touch -r ./Source/FreeImage/PluginWBMP.cpp ./Source/FreeImage/PluginWBMP.cpp.new + mv ./Source/FreeImage/PluginWBMP.cpp.new ./Source/FreeImage/PluginWBMP.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginWebP.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginWebP.cpp.new + touch -r ./Source/FreeImage/PluginWebP.cpp ./Source/FreeImage/PluginWebP.cpp.new + mv ./Source/FreeImage/PluginWebP.cpp.new ./Source/FreeImage/PluginWebP.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginXBM.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginXBM.cpp.new + touch -r ./Source/FreeImage/PluginXBM.cpp ./Source/FreeImage/PluginXBM.cpp.new + mv ./Source/FreeImage/PluginXBM.cpp.new ./Source/FreeImage/PluginXBM.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PluginXPM.cpp + sed -i 's|\r||g' ./Source/FreeImage/PluginXPM.cpp.new + touch -r ./Source/FreeImage/PluginXPM.cpp ./Source/FreeImage/PluginXPM.cpp.new + mv ./Source/FreeImage/PluginXPM.cpp.new ./Source/FreeImage/PluginXPM.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PSDParser.cpp + sed -i 's|\r||g' ./Source/FreeImage/PSDParser.cpp.new + touch -r ./Source/FreeImage/PSDParser.cpp ./Source/FreeImage/PSDParser.cpp.new + mv ./Source/FreeImage/PSDParser.cpp.new ./Source/FreeImage/PSDParser.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/PSDParser.h + sed -i 's|\r||g' ./Source/FreeImage/PSDParser.h.new + touch -r ./Source/FreeImage/PSDParser.h ./Source/FreeImage/PSDParser.h.new + mv ./Source/FreeImage/PSDParser.h.new ./Source/FreeImage/PSDParser.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/TIFFLogLuv.cpp + sed -i 's|\r||g' ./Source/FreeImage/TIFFLogLuv.cpp.new + touch -r ./Source/FreeImage/TIFFLogLuv.cpp ./Source/FreeImage/TIFFLogLuv.cpp.new + mv ./Source/FreeImage/TIFFLogLuv.cpp.new ./Source/FreeImage/TIFFLogLuv.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/tmoColorConvert.cpp + sed -i 's|\r||g' ./Source/FreeImage/tmoColorConvert.cpp.new + touch -r ./Source/FreeImage/tmoColorConvert.cpp ./Source/FreeImage/tmoColorConvert.cpp.new + mv ./Source/FreeImage/tmoColorConvert.cpp.new ./Source/FreeImage/tmoColorConvert.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/tmoDrago03.cpp + sed -i 's|\r||g' ./Source/FreeImage/tmoDrago03.cpp.new + touch -r ./Source/FreeImage/tmoDrago03.cpp ./Source/FreeImage/tmoDrago03.cpp.new + mv ./Source/FreeImage/tmoDrago03.cpp.new ./Source/FreeImage/tmoDrago03.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/tmoFattal02.cpp + sed -i 's|\r||g' ./Source/FreeImage/tmoFattal02.cpp.new + touch -r ./Source/FreeImage/tmoFattal02.cpp ./Source/FreeImage/tmoFattal02.cpp.new + mv ./Source/FreeImage/tmoFattal02.cpp.new ./Source/FreeImage/tmoFattal02.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/tmoReinhard05.cpp + sed -i 's|\r||g' ./Source/FreeImage/tmoReinhard05.cpp.new + touch -r ./Source/FreeImage/tmoReinhard05.cpp ./Source/FreeImage/tmoReinhard05.cpp.new + mv ./Source/FreeImage/tmoReinhard05.cpp.new ./Source/FreeImage/tmoReinhard05.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ToneMapping.cpp + sed -i 's|\r||g' ./Source/FreeImage/ToneMapping.cpp.new + touch -r ./Source/FreeImage/ToneMapping.cpp ./Source/FreeImage/ToneMapping.cpp.new + mv ./Source/FreeImage/ToneMapping.cpp.new ./Source/FreeImage/ToneMapping.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/WuQuantizer.cpp + sed -i 's|\r||g' ./Source/FreeImage/WuQuantizer.cpp.new + touch -r ./Source/FreeImage/WuQuantizer.cpp ./Source/FreeImage/WuQuantizer.cpp.new + mv ./Source/FreeImage/WuQuantizer.cpp.new ./Source/FreeImage/WuQuantizer.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage/ZLibInterface.cpp + sed -i 's|\r||g' ./Source/FreeImage/ZLibInterface.cpp.new + touch -r ./Source/FreeImage/ZLibInterface.cpp ./Source/FreeImage/ZLibInterface.cpp.new + mv ./Source/FreeImage/ZLibInterface.cpp.new ./Source/FreeImage/ZLibInterface.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImage.h + sed -i 's|\r||g' ./Source/FreeImage.h.new + touch -r ./Source/FreeImage.h ./Source/FreeImage.h.new + mv ./Source/FreeImage.h.new ./Source/FreeImage.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageIO.h + sed -i 's|\r||g' ./Source/FreeImageIO.h.new + touch -r ./Source/FreeImageIO.h ./Source/FreeImageIO.h.new + mv ./Source/FreeImageIO.h.new ./Source/FreeImageIO.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Background.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Background.cpp.new + touch -r ./Source/FreeImageToolkit/Background.cpp ./Source/FreeImageToolkit/Background.cpp.new + mv ./Source/FreeImageToolkit/Background.cpp.new ./Source/FreeImageToolkit/Background.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/BSplineRotate.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/BSplineRotate.cpp.new + touch -r ./Source/FreeImageToolkit/BSplineRotate.cpp ./Source/FreeImageToolkit/BSplineRotate.cpp.new + mv ./Source/FreeImageToolkit/BSplineRotate.cpp.new ./Source/FreeImageToolkit/BSplineRotate.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Channels.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Channels.cpp.new + touch -r ./Source/FreeImageToolkit/Channels.cpp ./Source/FreeImageToolkit/Channels.cpp.new + mv ./Source/FreeImageToolkit/Channels.cpp.new ./Source/FreeImageToolkit/Channels.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/ClassicRotate.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/ClassicRotate.cpp.new + touch -r ./Source/FreeImageToolkit/ClassicRotate.cpp ./Source/FreeImageToolkit/ClassicRotate.cpp.new + mv ./Source/FreeImageToolkit/ClassicRotate.cpp.new ./Source/FreeImageToolkit/ClassicRotate.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Colors.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Colors.cpp.new + touch -r ./Source/FreeImageToolkit/Colors.cpp ./Source/FreeImageToolkit/Colors.cpp.new + mv ./Source/FreeImageToolkit/Colors.cpp.new ./Source/FreeImageToolkit/Colors.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/CopyPaste.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/CopyPaste.cpp.new + touch -r ./Source/FreeImageToolkit/CopyPaste.cpp ./Source/FreeImageToolkit/CopyPaste.cpp.new + mv ./Source/FreeImageToolkit/CopyPaste.cpp.new ./Source/FreeImageToolkit/CopyPaste.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Display.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Display.cpp.new + touch -r ./Source/FreeImageToolkit/Display.cpp ./Source/FreeImageToolkit/Display.cpp.new + mv ./Source/FreeImageToolkit/Display.cpp.new ./Source/FreeImageToolkit/Display.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Filters.h + sed -i 's|\r||g' ./Source/FreeImageToolkit/Filters.h.new + touch -r ./Source/FreeImageToolkit/Filters.h ./Source/FreeImageToolkit/Filters.h.new + mv ./Source/FreeImageToolkit/Filters.h.new ./Source/FreeImageToolkit/Filters.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Flip.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Flip.cpp.new + touch -r ./Source/FreeImageToolkit/Flip.cpp ./Source/FreeImageToolkit/Flip.cpp.new + mv ./Source/FreeImageToolkit/Flip.cpp.new ./Source/FreeImageToolkit/Flip.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/JPEGTransform.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/JPEGTransform.cpp.new + touch -r ./Source/FreeImageToolkit/JPEGTransform.cpp ./Source/FreeImageToolkit/JPEGTransform.cpp.new + mv ./Source/FreeImageToolkit/JPEGTransform.cpp.new ./Source/FreeImageToolkit/JPEGTransform.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp.new + touch -r ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp.new + mv ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp.new ./Source/FreeImageToolkit/MultigridPoissonSolver.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Rescale.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Rescale.cpp.new + touch -r ./Source/FreeImageToolkit/Rescale.cpp ./Source/FreeImageToolkit/Rescale.cpp.new + mv ./Source/FreeImageToolkit/Rescale.cpp.new ./Source/FreeImageToolkit/Rescale.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Resize.cpp + sed -i 's|\r||g' ./Source/FreeImageToolkit/Resize.cpp.new + touch -r ./Source/FreeImageToolkit/Resize.cpp ./Source/FreeImageToolkit/Resize.cpp.new + mv ./Source/FreeImageToolkit/Resize.cpp.new ./Source/FreeImageToolkit/Resize.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/FreeImageToolkit/Resize.h + sed -i 's|\r||g' ./Source/FreeImageToolkit/Resize.h.new + touch -r ./Source/FreeImageToolkit/Resize.h ./Source/FreeImageToolkit/Resize.h.new + mv ./Source/FreeImageToolkit/Resize.h.new ./Source/FreeImageToolkit/Resize.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/MapIntrospector.h + sed -i 's|\r||g' ./Source/MapIntrospector.h.new + touch -r ./Source/MapIntrospector.h ./Source/MapIntrospector.h.new + mv ./Source/MapIntrospector.h.new ./Source/MapIntrospector.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/Exif.cpp + sed -i 's|\r||g' ./Source/Metadata/Exif.cpp.new + touch -r ./Source/Metadata/Exif.cpp ./Source/Metadata/Exif.cpp.new + mv ./Source/Metadata/Exif.cpp.new ./Source/Metadata/Exif.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/FIRational.cpp + sed -i 's|\r||g' ./Source/Metadata/FIRational.cpp.new + touch -r ./Source/Metadata/FIRational.cpp ./Source/Metadata/FIRational.cpp.new + mv ./Source/Metadata/FIRational.cpp.new ./Source/Metadata/FIRational.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/FIRational.h + sed -i 's|\r||g' ./Source/Metadata/FIRational.h.new + touch -r ./Source/Metadata/FIRational.h ./Source/Metadata/FIRational.h.new + mv ./Source/Metadata/FIRational.h.new ./Source/Metadata/FIRational.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/FreeImageTag.cpp + sed -i 's|\r||g' ./Source/Metadata/FreeImageTag.cpp.new + touch -r ./Source/Metadata/FreeImageTag.cpp ./Source/Metadata/FreeImageTag.cpp.new + mv ./Source/Metadata/FreeImageTag.cpp.new ./Source/Metadata/FreeImageTag.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/FreeImageTag.h + sed -i 's|\r||g' ./Source/Metadata/FreeImageTag.h.new + touch -r ./Source/Metadata/FreeImageTag.h ./Source/Metadata/FreeImageTag.h.new + mv ./Source/Metadata/FreeImageTag.h.new ./Source/Metadata/FreeImageTag.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/IPTC.cpp + sed -i 's|\r||g' ./Source/Metadata/IPTC.cpp.new + touch -r ./Source/Metadata/IPTC.cpp ./Source/Metadata/IPTC.cpp.new + mv ./Source/Metadata/IPTC.cpp.new ./Source/Metadata/IPTC.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/TagConversion.cpp + sed -i 's|\r||g' ./Source/Metadata/TagConversion.cpp.new + touch -r ./Source/Metadata/TagConversion.cpp ./Source/Metadata/TagConversion.cpp.new + mv ./Source/Metadata/TagConversion.cpp.new ./Source/Metadata/TagConversion.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/TagLib.cpp + sed -i 's|\r||g' ./Source/Metadata/TagLib.cpp.new + touch -r ./Source/Metadata/TagLib.cpp ./Source/Metadata/TagLib.cpp.new + mv ./Source/Metadata/TagLib.cpp.new ./Source/Metadata/TagLib.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Metadata/XTIFF.cpp + sed -i 's|\r||g' ./Source/Metadata/XTIFF.cpp.new + touch -r ./Source/Metadata/XTIFF.cpp ./Source/Metadata/XTIFF.cpp.new + mv ./Source/Metadata/XTIFF.cpp.new ./Source/Metadata/XTIFF.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Plugin.h + sed -i 's|\r||g' ./Source/Plugin.h.new + touch -r ./Source/Plugin.h ./Source/Plugin.h.new + mv ./Source/Plugin.h.new ./Source/Plugin.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Quantizers.h + sed -i 's|\r||g' ./Source/Quantizers.h.new + touch -r ./Source/Quantizers.h ./Source/Quantizers.h.new + mv ./Source/Quantizers.h.new ./Source/Quantizers.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/ToneMapping.h + sed -i 's|\r||g' ./Source/ToneMapping.h.new + touch -r ./Source/ToneMapping.h ./Source/ToneMapping.h.new + mv ./Source/ToneMapping.h.new ./Source/ToneMapping.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Source/Utilities.h + sed -i 's|\r||g' ./Source/Utilities.h.new + touch -r ./Source/Utilities.h ./Source/Utilities.h.new + mv ./Source/Utilities.h.new ./Source/Utilities.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/MainTestSuite.cpp + sed -i 's|\r||g' ./TestAPI/MainTestSuite.cpp.new + touch -r ./TestAPI/MainTestSuite.cpp ./TestAPI/MainTestSuite.cpp.new + mv ./TestAPI/MainTestSuite.cpp.new ./TestAPI/MainTestSuite.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/Makefile + sed -i 's|\r||g' ./TestAPI/Makefile.new + touch -r ./TestAPI/Makefile ./TestAPI/Makefile.new + mv ./TestAPI/Makefile.new ./TestAPI/Makefile + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testChannels.cpp + sed -i 's|\r||g' ./TestAPI/testChannels.cpp.new + touch -r ./TestAPI/testChannels.cpp ./TestAPI/testChannels.cpp.new + mv ./TestAPI/testChannels.cpp.new ./TestAPI/testChannels.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testHeaderOnly.cpp + sed -i 's|\r||g' ./TestAPI/testHeaderOnly.cpp.new + touch -r ./TestAPI/testHeaderOnly.cpp ./TestAPI/testHeaderOnly.cpp.new + mv ./TestAPI/testHeaderOnly.cpp.new ./TestAPI/testHeaderOnly.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testImageType.cpp + sed -i 's|\r||g' ./TestAPI/testImageType.cpp.new + touch -r ./TestAPI/testImageType.cpp ./TestAPI/testImageType.cpp.new + mv ./TestAPI/testImageType.cpp.new ./TestAPI/testImageType.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testJPEG.cpp + sed -i 's|\r||g' ./TestAPI/testJPEG.cpp.new + touch -r ./TestAPI/testJPEG.cpp ./TestAPI/testJPEG.cpp.new + mv ./TestAPI/testJPEG.cpp.new ./TestAPI/testJPEG.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testMemIO.cpp + sed -i 's|\r||g' ./TestAPI/testMemIO.cpp.new + touch -r ./TestAPI/testMemIO.cpp ./TestAPI/testMemIO.cpp.new + mv ./TestAPI/testMemIO.cpp.new ./TestAPI/testMemIO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testMPage.cpp + sed -i 's|\r||g' ./TestAPI/testMPage.cpp.new + touch -r ./TestAPI/testMPage.cpp ./TestAPI/testMPage.cpp.new + mv ./TestAPI/testMPage.cpp.new ./TestAPI/testMPage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testMPageMemory.cpp + sed -i 's|\r||g' ./TestAPI/testMPageMemory.cpp.new + touch -r ./TestAPI/testMPageMemory.cpp ./TestAPI/testMPageMemory.cpp.new + mv ./TestAPI/testMPageMemory.cpp.new ./TestAPI/testMPageMemory.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testMPageStream.cpp + sed -i 's|\r||g' ./TestAPI/testMPageStream.cpp.new + touch -r ./TestAPI/testMPageStream.cpp ./TestAPI/testMPageStream.cpp.new + mv ./TestAPI/testMPageStream.cpp.new ./TestAPI/testMPageStream.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testPlugins.cpp + sed -i 's|\r||g' ./TestAPI/testPlugins.cpp.new + touch -r ./TestAPI/testPlugins.cpp ./TestAPI/testPlugins.cpp.new + mv ./TestAPI/testPlugins.cpp.new ./TestAPI/testPlugins.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/TestSuite.h + sed -i 's|\r||g' ./TestAPI/TestSuite.h.new + touch -r ./TestAPI/TestSuite.h ./TestAPI/TestSuite.h.new + mv ./TestAPI/TestSuite.h.new ./TestAPI/TestSuite.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testThumbnail.cpp + sed -i 's|\r||g' ./TestAPI/testThumbnail.cpp.new + touch -r ./TestAPI/testThumbnail.cpp ./TestAPI/testThumbnail.cpp.new + mv ./TestAPI/testThumbnail.cpp.new ./TestAPI/testThumbnail.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testTools.cpp + sed -i 's|\r||g' ./TestAPI/testTools.cpp.new + touch -r ./TestAPI/testTools.cpp ./TestAPI/testTools.cpp.new + mv ./TestAPI/testTools.cpp.new ./TestAPI/testTools.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./TestAPI/testWrappedBuffer.cpp + sed -i 's|\r||g' ./TestAPI/testWrappedBuffer.cpp.new + touch -r ./TestAPI/testWrappedBuffer.cpp ./TestAPI/testWrappedBuffer.cpp.new + mv ./TestAPI/testWrappedBuffer.cpp.new ./TestAPI/testWrappedBuffer.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Whatsnew.txt + sed -i 's|\r||g' ./Whatsnew.txt.new + touch -r ./Whatsnew.txt ./Whatsnew.txt.new + mv ./Whatsnew.txt.new ./Whatsnew.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/Delphi/demo/ImagePreview/Readme.txt + sed -i 's|\r||g' ./Wrapper/Delphi/demo/ImagePreview/Readme.txt.new + touch -r ./Wrapper/Delphi/demo/ImagePreview/Readme.txt ./Wrapper/Delphi/demo/ImagePreview/Readme.txt.new + mv ./Wrapper/Delphi/demo/ImagePreview/Readme.txt.new ./Wrapper/Delphi/demo/ImagePreview/Readme.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/Delphi/demo/TargaUnit/Readme.txt + sed -i 's|\r||g' ./Wrapper/Delphi/demo/TargaUnit/Readme.txt.new + touch -r ./Wrapper/Delphi/demo/TargaUnit/Readme.txt ./Wrapper/Delphi/demo/TargaUnit/Readme.txt.new + mv ./Wrapper/Delphi/demo/TargaUnit/Readme.txt.new ./Wrapper/Delphi/demo/TargaUnit/Readme.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/Delphi/license.txt + sed -i 's|\r||g' ./Wrapper/Delphi/license.txt.new + touch -r ./Wrapper/Delphi/license.txt ./Wrapper/Delphi/license.txt.new + mv ./Wrapper/Delphi/license.txt.new ./Wrapper/Delphi/license.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/Delphi/WhatsNew_Delphi.txt + sed -i 's|\r||g' ./Wrapper/Delphi/WhatsNew_Delphi.txt.new + touch -r ./Wrapper/Delphi/WhatsNew_Delphi.txt ./Wrapper/Delphi/WhatsNew_Delphi.txt.new + mv ./Wrapper/Delphi/WhatsNew_Delphi.txt.new ./Wrapper/Delphi/WhatsNew_Delphi.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h.new + touch -r ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h.new + mv ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h.new ./Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cs/Content.txt + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cs/Content.txt.new + touch -r ./Wrapper/FreeImage.NET/cs/Content.txt ./Wrapper/FreeImage.NET/cs/Content.txt.new + mv ./Wrapper/FreeImage.NET/cs/Content.txt.new ./Wrapper/FreeImage.NET/cs/Content.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt.new + touch -r ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt.new + mv ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt.new ./Wrapper/FreeImage.NET/cs/Doc/SHFB.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt.new + touch -r ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt.new + mv ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt.new ./Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt + sed -i 's|\r||g' ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt.new + touch -r ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt.new + mv ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt.new ./Wrapper/FreeImage.NET/cs/Whats_New.NET.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/FreeImagePlus.h + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/FreeImagePlus.h.new + touch -r ./Wrapper/FreeImagePlus/FreeImagePlus.h ./Wrapper/FreeImagePlus/FreeImagePlus.h.new + mv ./Wrapper/FreeImagePlus/FreeImagePlus.h.new ./Wrapper/FreeImagePlus/FreeImagePlus.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipImage.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipImage.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipImage.cpp ./Wrapper/FreeImagePlus/src/fipImage.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipImage.cpp.new ./Wrapper/FreeImagePlus/src/fipImage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp.new ./Wrapper/FreeImagePlus/src/fipMemoryIO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp.new ./Wrapper/FreeImagePlus/src/fipMetadataFind.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp.new ./Wrapper/FreeImagePlus/src/fipMultiPage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipTag.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipTag.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipTag.cpp ./Wrapper/FreeImagePlus/src/fipTag.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipTag.cpp.new ./Wrapper/FreeImagePlus/src/fipTag.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/fipWinImage.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/fipWinImage.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/fipWinImage.cpp ./Wrapper/FreeImagePlus/src/fipWinImage.cpp.new + mv ./Wrapper/FreeImagePlus/src/fipWinImage.cpp.new ./Wrapper/FreeImagePlus/src/fipWinImage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp.new + touch -r ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp.new + mv ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp.new ./Wrapper/FreeImagePlus/src/FreeImagePlus.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTest.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTest.cpp.new + touch -r ./Wrapper/FreeImagePlus/test/fipTest.cpp ./Wrapper/FreeImagePlus/test/fipTest.cpp.new + mv ./Wrapper/FreeImagePlus/test/fipTest.cpp.new ./Wrapper/FreeImagePlus/test/fipTest.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTest.h + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTest.h.new + touch -r ./Wrapper/FreeImagePlus/test/fipTest.h ./Wrapper/FreeImagePlus/test/fipTest.h.new + mv ./Wrapper/FreeImagePlus/test/fipTest.h.new ./Wrapper/FreeImagePlus/test/fipTest.h + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp.new + touch -r ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp.new + mv ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp.new ./Wrapper/FreeImagePlus/test/fipTestMemIO.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp.new + touch -r ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp.new + mv ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp.new ./Wrapper/FreeImagePlus/test/fipTestMPage.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp.new + touch -r ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp.new + mv ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp.new ./Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp.new + touch -r ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp.new + mv ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp.new ./Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt + sed -i 's|\r||g' ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt.new + touch -r ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt.new + mv ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt.new ./Wrapper/FreeImagePlus/WhatsNew_FIP.txt + for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile` + iconv --from=ISO-8859-15 --to=UTF-8 ./Wrapper/VB6/src/WhatsNew_VB.txt + sed -i 's|\r||g' ./Wrapper/VB6/src/WhatsNew_VB.txt.new + touch -r ./Wrapper/VB6/src/WhatsNew_VB.txt ./Wrapper/VB6/src/WhatsNew_VB.txt.new + mv ./Wrapper/VB6/src/WhatsNew_VB.txt.new ./Wrapper/VB6/src/WhatsNew_VB.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MhJ3JE + umask 022 + cd /builddir/build/BUILD + cd FreeImage + sh ./gensrclist.sh + sh ./genfipsrclist.sh + /usr/bin/make -O -j80 -f Makefile.gnu 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/FreeImageC.c -o Source/FreeImage/FreeImageC.o g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginG3.cpp -o Source/FreeImage/PluginG3.o g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/GetType.cpp -o Source/FreeImage/GetType.o In file included from Source/FreeImage/GetType.cpp:28: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionRGBA16.cpp -o Source/FreeImage/ConversionRGBA16.o In file included from Source/FreeImage/ConversionRGBA16.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/MemoryIO.cpp -o Source/FreeImage/MemoryIO.o In file included from Source/FreeImage/MemoryIO.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PixelAccess.cpp -o Source/FreeImage/PixelAccess.o In file included from Source/FreeImage/PixelAccess.cpp:26: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionRGBAF.cpp -o Source/FreeImage/ConversionRGBAF.o Source/FreeImage/ConversionRGBAF.cpp: In function 'FIBITMAP* FreeImage_ConvertToRGBAF(FIBITMAP*)': Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(src_type) { ^ Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBAF.cpp:102:8: warning: enumeration value 'FIT_RGBAF' not handled in switch [-Wswitch] In file included from Source/FreeImage/ConversionRGBAF.cpp:24: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/FreeImageIO.cpp -o Source/FreeImage/FreeImageIO.o In file included from Source/FreeImage/FreeImageIO.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginCUT.cpp -o Source/FreeImage/PluginCUT.o In file included from Source/FreeImage/PluginCUT.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginJNG.cpp -o Source/FreeImage/PluginJNG.o In file included from Source/FreeImage/PluginJNG.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginMNG.cpp -o Source/FreeImage/PluginMNG.o In file included from Source/FreeImage/PluginMNG.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/LFPQuantizer.cpp -o Source/FreeImage/LFPQuantizer.o In file included from Source/FreeImage/LFPQuantizer.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/FreeImage.cpp -o Source/FreeImage/FreeImage.o In file included from Source/FreeImage/FreeImage.cpp:30: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ColorLookup.cpp -o Source/FreeImage/ColorLookup.o Source/FreeImage/ColorLookup.cpp: In function 'int FreeImage_LookupNamedColor(const char*, const NamedColor*, int)': Source/FreeImage/ColorLookup.cpp:77:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; szColor[i] && i < sizeof(color) - 1; i++) { ~~^~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/ColorLookup.cpp:24: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginKOALA.cpp -o Source/FreeImage/PluginKOALA.o In file included from Source/FreeImage/PluginKOALA.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/JPEGTransform.cpp -o Source/FreeImageToolkit/JPEGTransform.o g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginJ2K.cpp -o Source/FreeImage/PluginJ2K.o In file included from Source/FreeImage/PluginJ2K.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/TIFFLogLuv.cpp -o Source/FreeImage/TIFFLogLuv.o In file included from Source/FreeImage/TIFFLogLuv.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPSD.cpp -o Source/FreeImage/PluginPSD.o Source/FreeImage/PluginPSD.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)': Source/FreeImage/PluginPSD.cpp:130:10: warning: converting to non-pointer type 'BOOL' {aka 'int'} from NULL [-Wconversion-null] return NULL; ^~~~ In file included from Source/FreeImage/PluginPSD.cpp:27: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPCD.cpp -o Source/FreeImage/PluginPCD.o In file included from Source/FreeImage/PluginPCD.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o Source/FreeImage/PluginRAW.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)': Source/FreeImage/PluginRAW.cpp:697:25: error: 'struct libraw_data_t' has no member named 'rawparams'; did you mean 'params'? RawProcessor->imgdata.rawparams.shot_select = 0; ^~~~~~~~~ params In file included from Source/FreeImage/PluginRAW.cpp:26: Source/FreeImage/../Metadata/FreeImageTag.h: At global scope: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginRAW.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ make: *** [Makefile.gnu:54: Source/FreeImage/PluginRAW.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPFM.cpp -o Source/FreeImage/PluginPFM.o In file included from Source/FreeImage/PluginPFM.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginIFF.cpp -o Source/FreeImage/PluginIFF.o Source/FreeImage/PluginIFF.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)': Source/FreeImage/PluginIFF.cpp:294:45: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] unsigned line = FreeImage_GetLine(dib) + 1 & ~1; ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from Source/FreeImage/PluginIFF.cpp:26: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ToneMapping.cpp -o Source/FreeImage/ToneMapping.o In file included from Source/FreeImage/ToneMapping.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionRGB16.cpp -o Source/FreeImage/ConversionRGB16.o In file included from Source/FreeImage/ConversionRGB16.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginJP2.cpp -o Source/FreeImage/PluginJP2.o In file included from Source/FreeImage/PluginJP2.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion16_555.cpp -o Source/FreeImage/Conversion16_555.o In file included from Source/FreeImage/Conversion16_555.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPCX.cpp -o Source/FreeImage/PluginPCX.o In file included from Source/FreeImage/PluginPCX.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion16_565.cpp -o Source/FreeImage/Conversion16_565.o In file included from Source/FreeImage/Conversion16_565.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ZLibInterface.cpp -o Source/FreeImage/ZLibInterface.o In file included from Source/FreeImage/ZLibInterface.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/tmoDrago03.cpp -o Source/FreeImage/tmoDrago03.o In file included from Source/FreeImage/tmoDrago03.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginXBM.cpp -o Source/FreeImage/PluginXBM.o In file included from Source/FreeImage/PluginXBM.cpp:26: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/J2KHelper.cpp -o Source/FreeImage/J2KHelper.o In file included from Source/FreeImage/J2KHelper.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionFloat.cpp -o Source/FreeImage/ConversionFloat.o Source/FreeImage/ConversionFloat.cpp: In function 'FIBITMAP* FreeImage_ConvertToFloat(FIBITMAP*)': Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(src_type) { ^ Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch] Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] In file included from Source/FreeImage/ConversionFloat.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginDDS.cpp -o Source/FreeImage/PluginDDS.o In file included from Source/FreeImage/PluginDDS.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginRAS.cpp -o Source/FreeImage/PluginRAS.o In file included from Source/FreeImage/PluginRAS.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginSGI.cpp -o Source/FreeImage/PluginSGI.o In file included from Source/FreeImage/PluginSGI.cpp:32: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginWBMP.cpp -o Source/FreeImage/PluginWBMP.o Source/FreeImage/PluginWBMP.cpp: In function 'void multiByteWrite(FreeImageIO*, fi_handle, DWORD)': Source/FreeImage/PluginWBMP.cpp:122:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] Out = (BYTE)(0x80 | (In >> 7*k) & 0xFF); ~~~~~~~~~~~~^~~~~~ Source/FreeImage/PluginWBMP.cpp: In function 'void readExtHeader(FreeImageIO*, fi_handle, BYTE)': Source/FreeImage/PluginWBMP.cpp:144:10: warning: unused variable 'info' [-Wunused-variable] DWORD info = multiByteRead(io, handle); ^~~~ In file included from Source/FreeImage/PluginWBMP.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginHDR.cpp -o Source/FreeImage/PluginHDR.o Source/FreeImage/PluginHDR.cpp: In function 'BOOL rgbe_ReadHeader(FreeImageIO*, fi_handle, unsigned int*, unsigned int*, rgbeHeaderInfo*)': Source/FreeImage/PluginHDR.cpp:214:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(i = 0; i < sizeof(header_info->programtype) - 1; i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginHDR.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginHDR.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)': Source/FreeImage/PluginHDR.cpp:286:18: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buffer, "%s\n", info->comment); ^~~~~~ In file included from /usr/include/stdio.h:873, from Source/Utilities.h:35, from Source/FreeImage/PluginHDR.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion24.cpp -o Source/FreeImage/Conversion24.o In file included from Source/FreeImage/Conversion24.cpp:26: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion4.cpp -o Source/FreeImage/Conversion4.o In file included from Source/FreeImage/Conversion4.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion8.cpp -o Source/FreeImage/Conversion8.o In file included from Source/FreeImage/Conversion8.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionRGBF.cpp -o Source/FreeImage/ConversionRGBF.o Source/FreeImage/ConversionRGBF.cpp: In function 'FIBITMAP* FreeImage_ConvertToRGBF(FIBITMAP*)': Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(src_type) { ^ Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_RGBF' not handled in switch [-Wswitch] In file included from Source/FreeImage/ConversionRGBF.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionUINT16.cpp -o Source/FreeImage/ConversionUINT16.o In file included from Source/FreeImage/ConversionUINT16.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion32.cpp -o Source/FreeImage/Conversion32.o In file included from Source/FreeImage/Conversion32.cpp:26: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/FreeImageTag.cpp -o Source/Metadata/FreeImageTag.o In file included from Source/Metadata/FreeImageTag.cpp:28: Source/Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/FreeImageTag.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/tmoReinhard05.cpp -o Source/FreeImage/tmoReinhard05.o Source/FreeImage/tmoReinhard05.cpp: In function 'BOOL ToneMappingReinhard05(FIBITMAP*, FIBITMAP*, float, float, float, float)': Source/FreeImage/tmoReinhard05.cpp:66:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(f < -8) f = -8; if(f > 8) f = 8; ^~ Source/FreeImage/tmoReinhard05.cpp:66:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(f < -8) f = -8; if(f > 8) f = 8; ^~ Source/FreeImage/tmoReinhard05.cpp:67:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m < 0) m = 0; if(m > 1) m = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:67:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(m < 0) m = 0; if(m > 1) m = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:68:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(a < 0) a = 0; if(a > 1) a = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:68:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(a < 0) a = 0; if(a > 1) a = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:69:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(c < 0) c = 0; if(c > 1) c = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:69:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(c < 0) c = 0; if(c > 1) c = 1; ^~ Source/FreeImage/tmoReinhard05.cpp:84:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((m == 0) || (a != 1) && (c != 1)) { ~~~~~~~~~^~~~~~~~~~~ In file included from Source/FreeImage/tmoReinhard05.cpp:24: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Conversion.cpp -o Source/FreeImage/Conversion.o In file included from Source/FreeImage/Conversion.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginICO.cpp -o Source/FreeImage/PluginICO.o In file included from Source/FreeImage/PluginICO.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Halftoning.cpp -o Source/FreeImage/Halftoning.o Source/FreeImage/Halftoning.cpp: In function 'FIBITMAP* FloydSteinberg(FIBITMAP*)': Source/FreeImage/Halftoning.cpp:43:21: warning: variable 'pitch' set but not used [-Wunused-but-set-variable] int width, height, pitch; ^~~~~ Source/FreeImage/Halftoning.cpp: In function 'int dithervalue(int, int, int)': Source/FreeImage/Halftoning.cpp:153:18: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] d = (d <<1 | (x&1 ^ y&1))<<1 | y&1; ~^~ Source/FreeImage/Halftoning.cpp:153:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] d = (d <<1 | (x&1 ^ y&1))<<1 | y&1; ~^~ In file included from Source/FreeImage/Halftoning.cpp:27: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginWebP.cpp -o Source/FreeImage/PluginWebP.o In file included from Source/FreeImage/PluginWebP.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/NNQuantizer.cpp -o Source/FreeImage/NNQuantizer.o In file included from Source/FreeImage/NNQuantizer.cpp:35: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginBMP.cpp -o Source/FreeImage/PluginBMP.o In file included from Source/FreeImage/PluginBMP.cpp:28: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/Plugin.cpp -o Source/FreeImage/Plugin.o Source/FreeImage/Plugin.cpp: In function 'void FreeImage_Initialise(BOOL)': Source/FreeImage/Plugin.cpp:228:11: warning: unused variable 's' [-Wunused-variable] TagLib& s = TagLib::instance(); ^ Source/FreeImage/Plugin.cpp: At global scope: Source/FreeImage/Plugin.cpp:57:12: warning: 's_search_list_size' defined but not used [-Wunused-variable] static int s_search_list_size = sizeof(s_search_list) / sizeof(char *); ^~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/Plugin.cpp:41: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/Plugin.cpp:37: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/BSplineRotate.cpp -o Source/FreeImageToolkit/BSplineRotate.o In file included from Source/FreeImageToolkit/BSplineRotate.cpp:48: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Background.cpp -o Source/FreeImageToolkit/Background.o In file included from Source/FreeImageToolkit/Background.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPICT.cpp -o Source/FreeImage/PluginPICT.o Source/FreeImage/PluginPICT.cpp: In function 'void ReadColorTable(FreeImageIO*, fi_handle, WORD*, RGBQUAD*)': Source/FreeImage/PluginPICT.cpp:375:14: warning: variable 'ctSeed' set but not used [-Wunused-but-set-variable] LONG ctSeed; ^~~~~~ Source/FreeImage/PluginPICT.cpp: In function 'void expandBuf8(FreeImageIO*, fi_handle, int, int, BYTE*)': Source/FreeImage/PluginPICT.cpp:530:27: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] for (int i = 7; i > (8-width & 7); i--) { ~^~~~~~ Source/FreeImage/PluginPICT.cpp: In function 'void DecodeBitmap(FreeImageIO*, fi_handle, FIBITMAP*, BOOL, MacRect*, WORD)': Source/FreeImage/PluginPICT.cpp:827:7: warning: unused variable 'mode' [-Wunused-variable] WORD mode = Read16( io, handle ); ^~~~ Source/FreeImage/PluginPICT.cpp: In function 'void DecodePixmap(FreeImageIO*, fi_handle, FIBITMAP*, BOOL, MacpixMap*, WORD)': Source/FreeImage/PluginPICT.cpp:872:7: warning: unused variable 'mode' [-Wunused-variable] WORD mode = Read16( io, handle ); ^~~~ Source/FreeImage/PluginPICT.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)': Source/FreeImage/PluginPICT.cpp:1118:12: warning: unused variable 'mode' [-Wunused-variable] WORD mode = Read16( io, handle ); ^~~~ Source/FreeImage/PluginPICT.cpp:1127:12: warning: variable 'type' set but not used [-Wunused-but-set-variable] WORD type; ^~~~ Source/FreeImage/PluginPICT.cpp:1150:10: warning: unused variable 'minorVersion' [-Wunused-variable] WORD minorVersion = Read16( io, handle ); // always FFFE (-2) for extended version 2 ^~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp:1220:10: warning: enumeration value 'none' not handled in switch [-Wswitch] switch ( pictType ) { ^ In file included from Source/FreeImage/PluginPICT.cpp:72: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/tmoColorConvert.cpp -o Source/FreeImage/tmoColorConvert.o In file included from Source/FreeImage/tmoColorConvert.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPNG.cpp -o Source/FreeImage/PluginPNG.o Source/FreeImage/PluginPNG.cpp: In function 'void _FlushProc(png_structp)': Source/FreeImage/PluginPNG.cpp:80:2: warning: statement has no effect [-Wunused-value] (png_structp)png_ptr; ^~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPNG.cpp: In function 'void warning_handler(png_structp, const char*)': Source/FreeImage/PluginPNG.cpp:94:2: warning: statement has no effect [-Wunused-value] (png_structp)png_ptr; ^~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPNG.cpp:95:2: warning: statement has no effect [-Wunused-value] (char*)warning; ^~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginPNG.cpp:33: Source/FreeImage/../Metadata/FreeImageTag.h: At global scope: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginPNG.cpp:31: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/XTIFF.cpp -o Source/Metadata/XTIFF.o Source/Metadata/XTIFF.cpp:232:28: warning: 'uint32' is deprecated [-Wdeprecated-declarations] static uint32 exif_tag_ids[] = { ^ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:269:85: warning: 'uint32' is deprecated [-Wdeprecated-declarations] tiff_read_exif_tag(TIFF *tif, uint32 tag_id, FIBITMAP *dib, TagLib::MDMODEL md_model) { ^ Source/Metadata/XTIFF.cpp: In function 'BOOL tiff_read_exif_tag(TIFF*, uint32, FIBITMAP*, TagLib::MDMODEL)': Source/Metadata/XTIFF.cpp:270:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 value_count = 0; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:303:11: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 value_count16 = 0; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:311:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 value_count32 = 0; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:325:11: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 spp; ^~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:481:15: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 i = 0; i < value_count; i++) { ^ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:498:15: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 i = 0; i < value_count; i++) { ^ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp: In function 'BOOL tiff_read_exif_tags(TIFF*, TagLib::MDMODEL, FIBITMAP*)': Source/Metadata/XTIFF.cpp:600:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 tag_id = TIFFGetTagListEntry(tif, i); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/Metadata/XTIFF.cpp:596:10: warning: unused variable 'tagLib' [-Wunused-variable] TagLib& tagLib = TagLib::instance(); ^~~~~~ Source/Metadata/XTIFF.cpp: At global scope: Source/Metadata/XTIFF.cpp:625:39: warning: 'uint32' is deprecated [-Wdeprecated-declarations] skip_write_field(TIFF* tif, uint32 tag) { ^ Source/Metadata/XTIFF.cpp: In function 'BOOL tiff_write_exif_tags(TIFF*, TagLib::MDMODEL, FIBITMAP*)': Source/Metadata/XTIFF.cpp:725:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] const uint32 tag_id = exif_tag_ids[fi]; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/Metadata/XTIFF.cpp:32: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ In file included from Source/Metadata/XTIFF.cpp:36: Source/Metadata/FreeImageTag.h: At global scope: Source/Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/XTIFF.cpp:35: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginJXR.cpp -o Source/FreeImage/PluginJXR.o In file included from Source/FreeImage/PluginJXR.cpp:24: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginJXR.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginPNM.cpp -o Source/FreeImage/PluginPNM.o In file included from Source/FreeImage/PluginPNM.cpp:24: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/FIRational.cpp -o Source/Metadata/FIRational.o Source/Metadata/FIRational.cpp: In constructor 'FIRational::FIRational(const FITAG*)': Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_NOTYPE' not handled in switch [-Wswitch] switch(FreeImage_GetTagType((FITAG*)tag)) { ^ Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_BYTE' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_ASCII' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_SHORT' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_LONG' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_SBYTE' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_UNDEFINED' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_SSHORT' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_SLONG' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_FLOAT' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_DOUBLE' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_IFD' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_PALETTE' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_LONG8' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_SLONG8' not handled in switch [-Wswitch] Source/Metadata/FIRational.cpp:52:8: warning: enumeration value 'FIDT_IFD8' not handled in switch [-Wswitch] In file included from Source/Metadata/FIRational.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginJPEG.cpp -o Source/FreeImage/PluginJPEG.o Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_write_jfxx(j_compress_ptr, FIBITMAP*)': Source/FreeImage/PluginJPEG.cpp:852:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((FreeImage_GetImageType(thumbnail) != FIT_BITMAP) || (FreeImage_GetBPP(thumbnail) != 8) && (FreeImage_GetBPP(thumbnail) != 24)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginJPEG.cpp: At global scope: Source/FreeImage/PluginJPEG.cpp:471:1: warning: 'BOOL marker_is_icc(jpeg_saved_marker_ptr)' defined but not used [-Wunused-function] marker_is_icc(jpeg_saved_marker_ptr marker) { ^~~~~~~~~~~~~ In file included from Source/FreeImage/PluginJPEG.cpp:44: Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/WuQuantizer.cpp -o Source/FreeImage/WuQuantizer.o In file included from Source/FreeImage/WuQuantizer.cpp:35: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/tmoFattal02.cpp -o Source/FreeImage/tmoFattal02.o In file included from Source/FreeImage/tmoFattal02.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/CacheFile.cpp -o Source/FreeImage/CacheFile.o Source/FreeImage/CacheFile.cpp: In member function 'Block* CacheFile::lockBlock(int)': Source/FreeImage/CacheFile.cpp:150:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(m_current_block->data, BLOCK_SIZE, 1, m_file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Source/CacheFile.h:28, from Source/FreeImage/CacheFile.cpp:28: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Channels.cpp -o Source/FreeImageToolkit/Channels.o Source/FreeImageToolkit/Channels.cpp: In function 'BOOL FreeImage_SetChannel(FIBITMAP*, FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)': Source/FreeImageToolkit/Channels.cpp:215:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((dst_type != FIC_RGB) && (dst_type != FIC_RGBALPHA) || (src_type != FIC_MINISBLACK)) { ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp:227:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((src_bpp != 8) || (dst_bpp != 24) && (dst_bpp != 32)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp:271:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((src_bpp != 16) || (dst_bpp != 48) && (dst_bpp != 64)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp:315:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((src_bpp != 32) || (dst_bpp != 96) && (dst_bpp != 128)) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp: In function 'FIBITMAP* FreeImage_GetComplexChannel(FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)': Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_RGB' not handled in switch [-Wswitch] switch(channel) { ^ Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_RED' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_GREEN' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_BLUE' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_ALPHA' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_BLACK' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp: In function 'BOOL FreeImage_SetComplexChannel(FIBITMAP*, FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)': Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_RGB' not handled in switch [-Wswitch] switch(channel) { ^ Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_RED' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_GREEN' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_BLUE' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_ALPHA' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_BLACK' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_MAG' not handled in switch [-Wswitch] Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_PHASE' not handled in switch [-Wswitch] In file included from Source/FreeImageToolkit/Channels.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/IPTC.cpp -o Source/Metadata/IPTC.o In file included from Source/Metadata/IPTC.cpp:28: Source/Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/IPTC.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/TagLib.cpp -o Source/Metadata/TagLib.o Source/Metadata/TagLib.cpp: In member function 'FREE_IMAGE_MDMODEL TagLib::getFreeImageModel(TagLib::MDMODEL)': Source/Metadata/TagLib.cpp:1575:8: warning: enumeration value 'UNKNOWN' not handled in switch [-Wswitch] switch(model) { ^ In file included from Source/Metadata/TagLib.cpp:38: Source/Metadata/FreeImageTag.h: At global scope: Source/Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/TagLib.cpp:37: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/ConversionType.cpp -o Source/FreeImage/ConversionType.o Source/FreeImage/ConversionType.cpp: In function 'FIBITMAP* FreeImage_ConvertToStandardType(FIBITMAP*, BOOL)': Source/FreeImage/ConversionType.cpp:246:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(src_type) { ^ Source/FreeImage/ConversionType.cpp: In function 'FIBITMAP* FreeImage_ConvertToType(FIBITMAP*, FREE_IMAGE_TYPE, BOOL)': Source/FreeImage/ConversionType.cpp:324:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:324:10: warning: enumeration value 'FIT_BITMAP' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:361:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:361:10: warning: enumeration value 'FIT_UINT16' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:395:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:395:10: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:425:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:425:10: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:455:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:455:10: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:485:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:485:10: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:516:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:516:10: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:544:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:544:10: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:570:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:570:10: warning: enumeration value 'FIT_RGB16' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:602:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:602:10: warning: enumeration value 'FIT_RGBA16' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:634:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:634:10: warning: enumeration value 'FIT_RGBF' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:662:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(dst_type) { ^ Source/FreeImage/ConversionType.cpp:662:10: warning: enumeration value 'FIT_RGBAF' not handled in switch [-Wswitch] Source/FreeImage/ConversionType.cpp:322:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(src_type) { ^ In file included from Source/FreeImage/ConversionType.cpp:24: Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = short unsigned int]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = short unsigned int; BOOL = int]' Source/FreeImage/ConversionType.cpp:251:55: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = short int]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = short int; BOOL = int]' Source/FreeImage/ConversionType.cpp:254:54: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = unsigned int]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = unsigned int; BOOL = int]' Source/FreeImage/ConversionType.cpp:257:54: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = int]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = int; BOOL = int]' Source/FreeImage/ConversionType.cpp:260:53: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = float]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = float; BOOL = int]' Source/FreeImage/ConversionType.cpp:263:54: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = double]': Source/FreeImage/ConversionType.cpp:111:10: required from 'FIBITMAP* CONVERT_TO_BYTE::convert(FIBITMAP*, BOOL) [with Tsrc = double; BOOL = int]' Source/FreeImage/ConversionType.cpp:266:55: required from here Source/Utilities.h:197:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] long i1, i2, i, j; ^~ Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Display.cpp -o Source/FreeImageToolkit/Display.o In file included from Source/FreeImageToolkit/Display.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginTARGA.cpp -o Source/FreeImage/PluginTARGA.o In file included from Source/FreeImage/PluginTARGA.cpp:29: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/MNGHelper.cpp -o Source/FreeImage/MNGHelper.o Source/FreeImage/MNGHelper.cpp: In function 'FIBITMAP* mng_ReadChunks(int, FreeImageIO*, fi_handle, long int, int)': Source/FreeImage/MNGHelper.cpp:769:7: warning: variable 'jng_color_type' set but not used [-Wunused-but-set-variable] BYTE jng_color_type = 0; ^~~~~~~~~~~~~~ Source/FreeImage/MNGHelper.cpp:770:7: warning: variable 'jng_image_sample_depth' set but not used [-Wunused-but-set-variable] BYTE jng_image_sample_depth = 0; ^~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/MNGHelper.cpp:771:7: warning: variable 'jng_image_compression_method' set but not used [-Wunused-but-set-variable] BYTE jng_image_compression_method = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/MNGHelper.cpp:775:7: warning: variable 'jng_alpha_filter_method' set but not used [-Wunused-but-set-variable] BYTE jng_alpha_filter_method = 0; ^~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/MNGHelper.cpp:776:7: warning: variable 'jng_alpha_interlace_method' set but not used [-Wunused-but-set-variable] BYTE jng_alpha_interlace_method = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/MNGHelper.cpp: At global scope: Source/FreeImage/MNGHelper.cpp:182:13: warning: 'mng_zTXt' defined but not used [-Wunused-variable] static BYTE mng_zTXt[5]={122, 84, 88, 116, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:181:13: warning: 'mng_tIME' defined but not used [-Wunused-variable] static BYTE mng_tIME[5]={116, 73, 77, 69, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:179:13: warning: 'mng_sTER' defined but not used [-Wunused-variable] static BYTE mng_sTER[5]={115, 84, 69, 82, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:178:13: warning: 'mng_sPLT' defined but not used [-Wunused-variable] static BYTE mng_sPLT[5]={115, 80, 76, 84, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:177:13: warning: 'mng_iTXt' defined but not used [-Wunused-variable] static BYTE mng_iTXt[5]={105, 84, 88, 116, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:176:13: warning: 'mng_hIST' defined but not used [-Wunused-variable] static BYTE mng_hIST[5]={104, 73, 83, 84, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:173:13: warning: 'mng_oFFs' defined but not used [-Wunused-variable] static BYTE mng_oFFs[5]={111, 70, 70, 115, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:172:13: warning: 'mng_JSEP' defined but not used [-Wunused-variable] static BYTE mng_JSEP[5]={ 74, 83, 69, 80, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:171:13: warning: 'mng_JdAA' defined but not used [-Wunused-variable] static BYTE mng_JdAA[5]={ 74, 100, 65, 65, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:164:13: warning: 'mng_sRGB' defined but not used [-Wunused-variable] static BYTE mng_sRGB[5]={115, 82, 71, 66, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:163:13: warning: 'mng_sBIT' defined but not used [-Wunused-variable] static BYTE mng_sBIT[5]={115, 66, 73, 84, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:161:13: warning: 'mng_vpAg' defined but not used [-Wunused-variable] static BYTE mng_vpAg[5]={118, 112, 65, 103, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:160:13: warning: 'mng_pHYg' defined but not used [-Wunused-variable] static BYTE mng_pHYg[5]={112, 72, 89, 103, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:159:13: warning: 'mng_nEED' defined but not used [-Wunused-variable] static BYTE mng_nEED[5]={110, 69, 69, 68, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:158:13: warning: 'mng_iCCP' defined but not used [-Wunused-variable] static BYTE mng_iCCP[5]={105, 67, 67, 80, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:156:13: warning: 'mng_cHRM' defined but not used [-Wunused-variable] static BYTE mng_cHRM[5]={ 99, 72, 82, 77, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:154:13: warning: 'mng_TERM' defined but not used [-Wunused-variable] static BYTE mng_TERM[5]={ 84, 69, 82, 77, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:153:13: warning: 'mng_SHOW' defined but not used [-Wunused-variable] static BYTE mng_SHOW[5]={ 83, 72, 79, 87, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:152:13: warning: 'mng_SEEK' defined but not used [-Wunused-variable] static BYTE mng_SEEK[5]={ 83, 69, 69, 75, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:151:13: warning: 'mng_SAVE' defined but not used [-Wunused-variable] static BYTE mng_SAVE[5]={ 83, 65, 86, 69, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:149:13: warning: 'mng_PAST' defined but not used [-Wunused-variable] static BYTE mng_PAST[5]={ 80, 65, 83, 84, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:148:13: warning: 'mng_MOVE' defined but not used [-Wunused-variable] static BYTE mng_MOVE[5]={ 77, 79, 86, 69, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:146:13: warning: 'mng_MAGN' defined but not used [-Wunused-variable] static BYTE mng_MAGN[5]={ 77, 65, 71, 78, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:141:13: warning: 'mng_FRAM' defined but not used [-Wunused-variable] static BYTE mng_FRAM[5]={ 70, 82, 65, 77, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:140:13: warning: 'mng_ENDL' defined but not used [-Wunused-variable] static BYTE mng_ENDL[5]={ 69, 78, 68, 76, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:139:13: warning: 'mng_DISC' defined but not used [-Wunused-variable] static BYTE mng_DISC[5]={ 68, 73, 83, 67, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:138:13: warning: 'mng_DHDR' defined but not used [-Wunused-variable] static BYTE mng_DHDR[5]={ 68, 72, 68, 82, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:136:13: warning: 'mng_CLON' defined but not used [-Wunused-variable] static BYTE mng_CLON[5]={ 67, 76, 79, 78, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:135:13: warning: 'mng_CLIP' defined but not used [-Wunused-variable] static BYTE mng_CLIP[5]={ 67, 76, 73, 80, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:134:13: warning: 'mng_BASI' defined but not used [-Wunused-variable] static BYTE mng_BASI[5]={ 66, 65, 83, 73, (BYTE) '\0'}; ^~~~~~~~ Source/FreeImage/MNGHelper.cpp:133:13: warning: 'mng_BACK' defined but not used [-Wunused-variable] static BYTE mng_BACK[5]={ 66, 65, 67, 75, (BYTE) '\0'}; ^~~~~~~~ In file included from Source/FreeImage/MNGHelper.cpp:23: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Flip.cpp -o Source/FreeImageToolkit/Flip.o In file included from Source/FreeImageToolkit/Flip.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Rescale.cpp -o Source/FreeImageToolkit/Rescale.o Source/FreeImageToolkit/Rescale.cpp: In function 'FIBITMAP* FreeImage_MakeThumbnail(FIBITMAP*, int, BOOL)': Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_BITMAP' not handled in switch [-Wswitch] Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/Rescale.cpp:159:9: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] In file included from Source/FreeImageToolkit/Resize.h:28, from Source/FreeImageToolkit/Rescale.cpp:23: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PSDParser.cpp -o Source/FreeImage/PSDParser.o Source/FreeImage/PSDParser.cpp: In static member function 'static int PSDGetValue::get(const BYTE*)': Source/FreeImage/PSDParser.cpp:100:49: warning: no return statement in function returning non-void [-Wreturn-type] static inline int get(const BYTE * iprBuffer) {} // error ^ Source/FreeImage/PSDParser.cpp: In member function 'bool psdICCProfile::Write(FreeImageIO*, fi_handle)': Source/FreeImage/PSDParser.cpp:933:60: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if(io->write_proc(_ProfileData, 1, _ProfileSize, handle) != _ProfileSize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Source/FreeImage/PSDParser.cpp: In member function 'bool psdParser::ReadImageResources(FreeImageIO*, fi_handle, LONG)': Source/FreeImage/PSDParser.cpp:1095:7: warning: unused variable 'n' [-Wunused-variable] int n = (int)io->read_proc(Length, sizeof(Length), 1, handle); ^ Source/FreeImage/PSDParser.cpp: In member function 'FIBITMAP* psdParser::ReadImageData(FreeImageIO*, fi_handle)': Source/FreeImage/PSDParser.cpp:1555:23: warning: unused variable 'line_end' [-Wunused-variable] const BYTE* const line_end = line_start + lineSize; ^~~~~~~~ Source/FreeImage/PSDParser.cpp: In member function 'bool psdParser::Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)': Source/FreeImage/PSDParser.cpp:2040:11: warning: variable 'bitspersample' set but not used [-Wunused-but-set-variable] unsigned bitspersample; ^~~~~~~~~~~~~ In file included from Source/FreeImage/PSDParser.cpp:29: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/CopyPaste.cpp -o Source/FreeImageToolkit/CopyPaste.o In file included from Source/FreeImageToolkit/CopyPaste.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Colors.cpp -o Source/FreeImageToolkit/Colors.o In file included from Source/FreeImageToolkit/Colors.cpp:25: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginEXR.cpp -o Source/FreeImage/PluginEXR.o In file included from Source/FreeImage/PluginEXR.cpp:24: Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginGIF.cpp -o Source/FreeImage/PluginGIF.o Source/FreeImage/PluginGIF.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)': Source/FreeImage/PluginGIF.cpp:1349:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if( size + w >= sizeof(buf) ) { ~~~~~~~~~^~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginGIF.cpp:34: Source/FreeImage/../Metadata/FreeImageTag.h: At global scope: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginGIF.cpp:33: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/MultigridPoissonSolver.cpp -o Source/FreeImageToolkit/MultigridPoissonSolver.o In file included from Source/FreeImageToolkit/MultigridPoissonSolver.cpp:26: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginXPM.cpp -o Source/FreeImage/PluginXPM.o In file included from Source/FreeImage/PluginXPM.cpp:39: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/MultiPage.cpp -o Source/FreeImage/MultiPage.o Source/FreeImage/MultiPage.cpp: In function 'FIMULTIBITMAP* FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT, const char*, BOOL, BOOL, BOOL, int)': Source/FreeImage/MultiPage.cpp:274:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap (new FIMULTIBITMAP); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Source/FreeImage/MultiPage.cpp:275:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr header (new MULTIBITMAPHEADER); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Source/FreeImage/MultiPage.cpp: In function 'FIMULTIBITMAP* FreeImage_OpenMultiBitmapFromHandle(FREE_IMAGE_FORMAT, FreeImageIO*, fi_handle, int)': Source/FreeImage/MultiPage.cpp:340:11: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr bitmap (new FIMULTIBITMAP); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ Source/FreeImage/MultiPage.cpp:341:11: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr header (new MULTIBITMAPHEADER); ^~~~~~~~ In file included from /usr/include/c++/8/memory:80, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/ClassicRotate.cpp -o Source/FreeImageToolkit/ClassicRotate.o Source/FreeImageToolkit/ClassicRotate.cpp: In function 'void HorizontalSkew(FIBITMAP*, FIBITMAP*, int, int, double, const void*)': Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp: In function 'void VerticalSkew(FIBITMAP*, FIBITMAP*, int, int, double, const void*)': Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate90(FIBITMAP*)': Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate180(FIBITMAP*)': Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate270(FIBITMAP*)': Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* FreeImage_Rotate(FIBITMAP*, double, const void*)': Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ Source/Utilities.h: In function 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]': Source/Utilities.h:345:41: warning: '*((void*)& pxlLeft +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +8)' was declared here T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:352:42: warning: '*((void*)& pxlLeft +12)' may be used uninitialized in this function [-Wmaybe-uninitialized] *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +12)' was declared here T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h: In function 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]': Source/Utilities.h:345:41: warning: '*((void*)& pxlLeft +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:15: note: '*((void*)& pxlLeft +8)' was declared here T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:352:42: warning: '*((void*)& pxlLeft +12)' may be used uninitialized in this function [-Wmaybe-uninitialized] *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:15: note: '*((void*)& pxlLeft +12)' was declared here T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max ^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/PluginTIFF.cpp -o Source/FreeImage/PluginTIFF.o Source/FreeImage/PluginTIFF.cpp:90:67: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static uint16 CheckColormap(int n, uint16* r, uint16* g, uint16* b); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:90:67: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static uint16 CheckColormap(int n, uint16* r, uint16* g, uint16* b); ^ Source/FreeImage/PluginTIFF.cpp:90:67: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:90:67: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:91:43: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static uint16 GetPhotometric(FIBITMAP *dib); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:96:92: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static void ReadPalette(TIFF *tiff, uint16 photometric, uint16 bitspersample, FIBITMAP *dib); ^ Source/FreeImage/PluginTIFF.cpp:96:92: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:98:140: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static FIBITMAP* CreateImageType(BOOL header_only, FREE_IMAGE_TYPE fit, int width, int height, uint16 bitspersample, uint16 samplesperpixel); ^ Source/FreeImage/PluginTIFF.cpp:98:140: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:99:94: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static FREE_IMAGE_TYPE ReadImageType(TIFF *tiff, uint16 bitspersample, uint16 samplesperpixel); ^ Source/FreeImage/PluginTIFF.cpp:99:94: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:102:117: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static void WriteCompression(TIFF *tiff, uint16 bitspersample, uint16 samplesperpixel, uint16 photometric, int flags); ^ Source/FreeImage/PluginTIFF.cpp:102:117: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:102:117: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:113:152: warning: 'uint16' is deprecated [-Wdeprecated-declarations] static TIFFLoadMethod FindLoadMethod(TIFF *tif, uint16 photometric, uint16 bitspersample, uint16 samplesperpixel, FREE_IMAGE_TYPE image_type, int flags); ^ Source/FreeImage/PluginTIFF.cpp:113:152: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:113:152: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:276:53: warning: 'uint16' is deprecated [-Wdeprecated-declarations] CheckColormap(int n, uint16* r, uint16* g, uint16* b) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:276:53: warning: 'uint16' is deprecated [-Wdeprecated-declarations] CheckColormap(int n, uint16* r, uint16* g, uint16* b) { ^ Source/FreeImage/PluginTIFF.cpp:276:53: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:276:53: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:290:29: warning: 'uint16' is deprecated [-Wdeprecated-declarations] GetPhotometric(FIBITMAP *dib) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'void ReadResolution(TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:316:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 resUnit = RESUNIT_INCH; ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: At global scope: Source/FreeImage/PluginTIFF.cpp:355:80: warning: 'uint16' is deprecated [-Wdeprecated-declarations] ReadPalette(TIFF *tiff, uint16 photometric, uint16 bitspersample, FIBITMAP *dib) { ^ Source/FreeImage/PluginTIFF.cpp:355:80: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp: In function 'void ReadPalette(TIFF*, uint16, uint16, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:394:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *red; ^~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:395:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *green; ^~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:396:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *blue; ^~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: At global scope: Source/FreeImage/PluginTIFF.cpp:431:123: warning: 'uint16' is deprecated [-Wdeprecated-declarations] CreateImageType(BOOL header_only, FREE_IMAGE_TYPE fit, int width, int height, uint16 bitspersample, uint16 samplesperpixel) { ^ Source/FreeImage/PluginTIFF.cpp:431:123: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:476:71: warning: 'uint16' is deprecated [-Wdeprecated-declarations] ReadImageType(TIFF *tiff, uint16 bitspersample, uint16 samplesperpixel) { ^ Source/FreeImage/PluginTIFF.cpp:476:71: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp: In function 'FREE_IMAGE_TYPE ReadImageType(TIFF*, uint16, uint16)': Source/FreeImage/PluginTIFF.cpp:477:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 sampleformat = 0; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:480:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bpp = bitspersample * samplesperpixel; ^~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'void WriteImageType(TIFF*, FREE_IMAGE_TYPE)': Source/FreeImage/PluginTIFF.cpp:611:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(fit) { ^ Source/FreeImage/PluginTIFF.cpp: At global scope: Source/FreeImage/PluginTIFF.cpp:644:105: warning: 'uint16' is deprecated [-Wdeprecated-declarations] WriteCompression(TIFF *tiff, uint16 bitspersample, uint16 samplesperpixel, uint16 photometric, int flags) { ^ Source/FreeImage/PluginTIFF.cpp:644:105: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:644:105: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp: In function 'void WriteCompression(TIFF*, uint16, uint16, uint16, int)': Source/FreeImage/PluginTIFF.cpp:645:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 compression; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:646:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bitsperpixel = bitspersample * samplesperpixel; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:668:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 rowsperstrip = (uint32) -1; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:668:27: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 rowsperstrip = (uint32) -1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:729:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 imageLength = 0; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:738:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 group3options = GROUP3OPT_2DENCODING | GROUP3OPT_FILLBITS; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_read_iptc_profile(TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:755:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 profile_size = 0; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:759:32: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSwabArrayOfLong((uint32 *) profile, (unsigned long)profile_size); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_read_xmp_profile(TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:777:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 profile_size = 0; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_read_exif_profile(FreeImageIO*, fi_handle, TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:821:16: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 cur_dir = TIFFCurrentDirectory(tiff); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_write_iptc_profile(TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:864:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 profile_size = 0; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:867:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 iptc_size = profile_size; ^~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:877:33: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSwabArrayOfLong((uint32 *) iptc_profile, (unsigned long)iptc_size/4); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_write_xmp_profile(TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:905:42: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSetField(tiff, TIFFTAG_XMLPACKET, (uint32)FreeImage_GetTagLength(tag_xmp), (BYTE*)FreeImage_GetTagValue(tag_xmp)); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: At global scope: Source/FreeImage/PluginTIFF.cpp:1103:86: warning: 'uint16' is deprecated [-Wdeprecated-declarations] IsValidBitsPerSample(uint16 photometric, uint16 bitspersample, uint16 samplesperpixel) { ^ Source/FreeImage/PluginTIFF.cpp:1103:86: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp:1103:86: warning: 'uint16' is deprecated [-Wdeprecated-declarations] Source/FreeImage/PluginTIFF.cpp: In function 'BOOL IsValidBitsPerSample(uint16, uint16, uint16)': Source/FreeImage/PluginTIFF.cpp:1105:15: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 pixel_depth = bitspersample * samplesperpixel; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1147:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if((photometric == PHOTOMETRIC_RGB) && (samplesperpixel == 3) || (samplesperpixel == 4)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'TIFFLoadMethod FindLoadMethod(TIFF*, FREE_IMAGE_TYPE, int)': Source/FreeImage/PluginTIFF.cpp:1171:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bitspersample = (uint16)-1; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1171:26: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bitspersample = (uint16)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1172:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 samplesperpixel = (uint16)-1; ^~~~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1172:28: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 samplesperpixel = (uint16)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1173:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 photometric = (uint16)-1; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1173:25: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 photometric = (uint16)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1174:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 planar_config = (uint16)-1; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1174:26: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 planar_config = (uint16)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'void ReadThumbnail(FreeImageIO*, fi_handle, void*, TIFF*, FIBITMAP*)': Source/FreeImage/PluginTIFF.cpp:1284:17: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 cur_dir = TIFFCurrentDirectory(tiff); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1303:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 subIFD_count = 0; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1313:18: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 cur_dir = TIFFCurrentDirectory(tiff); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1337:10: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 ps_size = 0; ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)': Source/FreeImage/PluginTIFF.cpp:1368:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 height = 0; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1369:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 width = 0; ^~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1370:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bitspersample = 1; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1371:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 samplesperpixel = 1; ^~~~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1372:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 rowsperstrip = (uint32)-1; ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1372:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 rowsperstrip = (uint32)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1373:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 photometric = PHOTOMETRIC_MINISWHITE; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1374:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 compression = (uint16)-1; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1374:24: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 compression = (uint16)-1; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1375:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 planar_config; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1378:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 iccSize = 0; // ICC profile length ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1388:40: warning: 'uint16' is deprecated [-Wdeprecated-declarations] if (!tif || !TIFFSetDirectory(tif, (uint16)page)) { ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1456:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 *raster = NULL; ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1460:21: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*)_TIFFmalloc(width * height * sizeof(uint32)); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1460:59: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*)_TIFFmalloc(width * height * sizeof(uint32)); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1509:13: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 *row = &raster[0]; ^~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1513:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1515:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 x = 0; x < width; x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1531:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1533:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 x = 0; x < width; x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1556:85: warning: 'uint16' is deprecated [-Wdeprecated-declarations] dib = CreateImageType(header_only, image_type, width, height, bitspersample, MIN(2, samplesperpixel)); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1595:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1596:12: warning: 'int32' is deprecated [-Wdeprecated-declarations] int32 nrow = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1606:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 x = 0; x < (uint32)(src_line / samplesperpixel); x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1606:30: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 x = 0; x < (uint32)(src_line / samplesperpixel); x++) { ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1630:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1631:12: warning: 'int32' is deprecated [-Wdeprecated-declarations] int32 nrow = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1647:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 x = 0; x < (uint32)(src_line); x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1647:30: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 x = 0; x < (uint32)(src_line); x++) { ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1706:17: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 chCount = MIN(samplesperpixel, 4); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1706:31: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 chCount = MIN(samplesperpixel, 4); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1747:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1748:19: warning: 'int32' is deprecated [-Wdeprecated-declarations] const int32 strips = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1810:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1811:19: warning: 'int32' is deprecated [-Wdeprecated-declarations] const int32 strips = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1815:18: warning: 'uint16' is deprecated [-Wdeprecated-declarations] for(uint16 sample = 0; sample < samplesperpixel; sample++) { ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1825:15: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 ch = sample; ^~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1907:17: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 chCount = MIN(samplesperpixel, 4); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1907:31: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 chCount = MIN(samplesperpixel, 4); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1947:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1948:13: warning: 'int32' is deprecated [-Wdeprecated-declarations] int32 strips = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1981:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:1982:19: warning: 'int32' is deprecated [-Wdeprecated-declarations] const int32 strips = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:1986:18: warning: 'uint16' is deprecated [-Wdeprecated-declarations] for(uint16 sample = 0; sample < samplesperpixel; sample++) { ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2042:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 tileWidth, tileHeight; ^~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2042:22: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 tileWidth, tileHeight; ^~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2043:11: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 src_line = 0; ^~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2079:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 tileRowSize = (uint32)TIFFTileRowSize(tif); ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2079:27: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 tileRowSize = (uint32)TIFFTileRowSize(tif); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2080:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 imageRowSize = (uint32)TIFFScanlineSize(tif); ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2080:28: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 imageRowSize = (uint32)TIFFScanlineSize(tif); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2088:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += tileHeight) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2089:12: warning: 'int32' is deprecated [-Wdeprecated-declarations] int32 nrows = (y + tileHeight > height ? height - y : tileHeight); ^~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:2091:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 x = 0, rowSize = 0; x < width; x += tileWidth, rowSize += tileRowSize) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2091:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 x = 0, rowSize = 0; x < width; x += tileWidth, rowSize += tileRowSize) { ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2165:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2166:12: warning: 'int32' is deprecated [-Wdeprecated-declarations] int32 nrow = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:83:38: note: declared here typedef TIFF_MSC_DEPRECATED int32_t int32 TIFF_GCC_DEPRECATED; ^~~~~ Source/FreeImage/PluginTIFF.cpp:2222:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y += rowsperstrip) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2223:14: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32 nrow = (y + rowsperstrip > height ? height - y : rowsperstrip); ^~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2235:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 l = 0; l < nrow; l++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL SaveOneTIFF(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*, unsigned int, unsigned int)': Source/FreeImage/PluginTIFF.cpp:2328:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] const uint32 width = FreeImage_GetWidth(dib); ^~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2329:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] const uint32 height = FreeImage_GetHeight(dib); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2330:16: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 bitsperpixel = (uint16)FreeImage_GetBPP(dib); ^~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2330:32: warning: 'uint16' is deprecated [-Wdeprecated-declarations] const uint16 bitsperpixel = (uint16)FreeImage_GetBPP(dib); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2336:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 bitspersample; ^~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2337:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 samplesperpixel; ^~~~~~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2338:10: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 photometric; ^~~~~~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2363:25: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 sampleinfo[1]; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2389:24: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 sampleinfo[1]; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2444:70: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_ROWSPERSTRIP, TIFFDefaultStripSize(out, (uint32) -1)); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2456:44: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_SUBFILETYPE, (uint32)FILETYPE_PAGE); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2457:43: warning: 'uint16' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_PAGENUMBER, (uint16)page, (uint16)0); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2457:57: warning: 'uint16' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_PAGENUMBER, (uint16)page, (uint16)0); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2462:57: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_SUBFILETYPE, (ifd == 0) ? (uint32)0 : (uint32)FILETYPE_REDUCEDIMAGE); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2462:69: warning: 'uint32' is deprecated [-Wdeprecated-declarations] TIFFSetField(out, TIFFTAG_SUBFILETYPE, (ifd == 0) ? (uint32)0 : (uint32)FILETYPE_REDUCEDIMAGE); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2468:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *r, *g, *b; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2468:16: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *r, *g, *b; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2468:20: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 *r, *g, *b; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2469:11: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 nColors = (uint16)FreeImage_GetColorsUsed(dib); ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2469:22: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 nColors = (uint16)FreeImage_GetColorsUsed(dib); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2472:16: warning: 'uint16' is deprecated [-Wdeprecated-declarations] r = (uint16 *) _TIFFmalloc(sizeof(uint16) * 3 * nColors); ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2472:38: warning: 'uint16' is deprecated [-Wdeprecated-declarations] r = (uint16 *) _TIFFmalloc(sizeof(uint16) * 3 * nColors); ^~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2480:19: warning: 'uint16' is deprecated [-Wdeprecated-declarations] r[i] = SCALE((uint16)pal[i].rgbRed); ^~~~~~ Source/FreeImage/PluginTIFF.cpp:269:21: note: in definition of macro 'SCALE' #define SCALE(x) (((x)*((1L<<16)-1))/255) ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2481:19: warning: 'uint16' is deprecated [-Wdeprecated-declarations] g[i] = SCALE((uint16)pal[i].rgbGreen); ^~~~~~ Source/FreeImage/PluginTIFF.cpp:269:21: note: in definition of macro 'SCALE' #define SCALE(x) (((x)*((1L<<16)-1))/255) ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2482:19: warning: 'uint16' is deprecated [-Wdeprecated-declarations] b[i] = SCALE((uint16)pal[i].rgbBlue); ^~~~~~ Source/FreeImage/PluginTIFF.cpp:269:21: note: in definition of macro 'SCALE' #define SCALE(x) (((x)*((1L<<16)-1))/255) ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2501:11: warning: 'uint16' is deprecated [-Wdeprecated-declarations] uint16 nsubifd = 1; ^~~~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:81:38: note: declared here typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2502:19: warning: 'uint64' is deprecated [-Wdeprecated-declarations] uint64 subifd[1]; ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:87:38: note: declared here typedef TIFF_MSC_DEPRECATED uint64_t uint64 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2511:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] const uint32 pitch = FreeImage_GetPitch(dib); ^~~~~ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2537:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for(uint32 x = 0; x < width; x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2561:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2581:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2592:20: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 x = 0; x < width; x++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2617:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp:2632:16: warning: 'uint32' is deprecated [-Wdeprecated-declarations] for (uint32 y = 0; y < height; y++) { ^ In file included from /usr/include/tiffio.h:31, from Source/FreeImage/PluginTIFF.cpp:40: /usr/include/tiff.h:84:38: note: declared here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^~~~~~ Source/FreeImage/PluginTIFF.cpp: At global scope: Source/FreeImage/PluginTIFF.cpp:113:23: warning: 'TIFFLoadMethod FindLoadMethod(TIFF*, uint16, uint16, uint16, FREE_IMAGE_TYPE, int)' declared 'static' but never defined [-Wunused-function] static TIFFLoadMethod FindLoadMethod(TIFF *tif, uint16 photometric, uint16 bitspersample, uint16 samplesperpixel, FREE_IMAGE_TYPE image_type, int flags); ^~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginTIFF.cpp:41: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/PluginTIFF.cpp:39: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/Exif.cpp -o Source/Metadata/Exif.o Source/Metadata/Exif.cpp: In function 'BOOL jpeg_read_exif_dir(FIBITMAP*, const BYTE*, DWORD, DWORD, DWORD, BOOL, TagLib::MDMODEL)': Source/Metadata/Exif.cpp:731:11: warning: variable 'thCompression' set but not used [-Wunused-but-set-variable] unsigned thCompression = 0; ^~~~~~~~~~~~~ In file included from Source/Metadata/Exif.cpp:36: Source/Metadata/FreeImageTag.h: At global scope: Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/Exif.cpp:35: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImage/BitmapAccess.cpp -o Source/FreeImage/BitmapAccess.o Source/FreeImage/BitmapAccess.cpp: In function 'FREE_IMAGE_COLOR_TYPE FreeImage_GetColorType(FIBITMAP*)': Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(image_type) { ^ Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_BITMAP' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp:696:9: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImage/BitmapAccess.cpp: In function 'unsigned int FreeImage_GetPitch(FIBITMAP*)': Source/FreeImage/BitmapAccess.cpp:1132:77: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] return fih->external_bits ? fih->external_pitch : (FreeImage_GetLine(dib) + 3 & ~3); ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from Source/FreeImage/BitmapAccess.cpp:41: Source/FreeImage/../Metadata/FreeImageTag.h: At global scope: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/FreeImage/BitmapAccess.cpp:38: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/Metadata/TagConversion.cpp -o Source/Metadata/TagConversion.o Source/Metadata/TagConversion.cpp: In function 'const char* ConvertAnyTag(FITAG*)': Source/Metadata/TagConversion.cpp:62:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, "%ld", (LONG) pvalue[0]); ^~~~~ ~~~~~~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:65:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, " %ld", (LONG) pvalue[i]); ^~~~~~ ~~~~~~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:86:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] sprintf(format, "%lu", pvalue[0]); ^~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:89:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] sprintf(format, " %lu", pvalue[i]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:98:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); ^~~~~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:98:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] Source/Metadata/TagConversion.cpp:101:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); ^~~~~~~~~~ ~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:101:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] Source/Metadata/TagConversion.cpp:110:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, "%ld", (LONG) pvalue[0]); ^~~~~ ~~~~~~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:113:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, " %ld", (LONG) pvalue[i]); ^~~~~~ ~~~~~~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:134:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, "%ld", pvalue[0]); ^~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:137:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, " %ld", pvalue[i]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:146:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); ^~~~~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:146:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'LONG' {aka 'int'} [-Wformat=] Source/Metadata/TagConversion.cpp:149:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); ^~~~~~~~~~ ~~~~~~~~~~~ Source/Metadata/TagConversion.cpp:149:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'LONG' {aka 'int'} [-Wformat=] Source/Metadata/TagConversion.cpp:207:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] sprintf(format, "%lld", pvalue[0]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:210:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] sprintf(format, "%lld", pvalue[i]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:220:20: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] sprintf(format, "%llX", pvalue[0]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:223:21: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] sprintf(format, "%llX", pvalue[i]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:233:20: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'INT64' {aka 'long int'} [-Wformat=] sprintf(format, "%lld", pvalue[0]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp:236:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'INT64' {aka 'long int'} [-Wformat=] sprintf(format, "%lld", pvalue[i]); ^~~~~~ ~~~~~~~~~ Source/Metadata/TagConversion.cpp: In function 'const char* ConvertExifTag(FITAG*)': Source/Metadata/TagConversion.cpp:544:24: warning: comparison of integer expressions of different signedness: 'LONG' {aka 'int'} and 'unsigned int' [-Wsign-compare] if(r.getNumerator() == 0xFFFFFFFF) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from Source/Metadata/TagConversion.cpp:28: Source/Metadata/FreeImageTag.h: At global scope: Source/Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] static const char *g_TagLib_XMPFieldName = "XMLPacket"; ^~~~~~~~~~~~~~~~~~~~~ In file included from Source/Metadata/TagConversion.cpp:27: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.4 -I/usr/include/libraw -I/usr/include/libpng16 -fPIC -c Source/FreeImageToolkit/Resize.cpp -o Source/FreeImageToolkit/Resize.o Source/FreeImageToolkit/Resize.cpp: In member function 'void CResizeEngine::horizontalFilter(FIBITMAP*, unsigned int, unsigned int, unsigned int, unsigned int, const RGBQUAD*, FIBITMAP*, unsigned int)': Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(FreeImage_GetImageType(src)) { ^ Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:514:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp: In member function 'void CResizeEngine::verticalFilter(FIBITMAP*, unsigned int, unsigned int, unsigned int, unsigned int, const RGBQUAD*, FIBITMAP*, unsigned int)': Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch] switch(FreeImage_GetImageType(src)) { ^ Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch] Source/FreeImageToolkit/Resize.cpp:1285:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch] In file included from Source/FreeImageToolkit/Resize.h:28, from Source/FreeImageToolkit/Resize.cpp:24: Source/Utilities.h: At global scope: Source/Utilities.h:534:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable] static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:533:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:532:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:531:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number"; ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:530:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_PARSING = "Parsing error"; ^~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:529:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory"; ^~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:528:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable] static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; ^~~~~~~~~~~~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.MhJ3JE (%build) Bad exit status from /var/tmp/rpm-tmp.MhJ3JE (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/freeimage.spec'