Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/freeimage.spec'], chrootPath='/var/lib/mock/f33-build-225149-48457/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1589155200 Wrote: /builddir/build/SRPMS/freeimage-3.18.0-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/freeimage.spec'], chrootPath='/var/lib/mock/f33-build-225149-48457/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1589155200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GKVBHC + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/FreeImage_unbundle.patch + /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 + 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 ./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 ./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/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/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/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/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 ./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/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/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/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/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/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/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/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/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 ./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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 + 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/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/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/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/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/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/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/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/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/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/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/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/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/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 ./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/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/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/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/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/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/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/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/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/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/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 ./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/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/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/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/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 ./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/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/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/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 ./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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 ./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-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-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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fZIiRE + umask 022 + cd /builddir/build/BUILD + cd FreeImage + sh ./gensrclist.sh + sh ./genfipsrclist.sh + /usr/bin/make -O -j4 V=1 VERBOSE=1 -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 77 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 102 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; | ^~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 696 | 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] 1132 | 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 531 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 532 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 228 | 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] 57 | 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 769 | 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] 770 | 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] 771 | 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] 775 | 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] 776 | 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] 182 | 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] 181 | 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] 179 | 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] 178 | 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] 177 | 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] 176 | 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] 173 | 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] 172 | 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] 171 | 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] 164 | 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] 163 | 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] 161 | 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] 160 | 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] 159 | 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] 158 | 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] 156 | 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] 154 | 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] 153 | 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] 152 | 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] 151 | 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] 149 | 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] 148 | 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] 146 | 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] 141 | 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] 140 | 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] 139 | 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] 138 | 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] 136 | 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] 135 | 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] 134 | 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] 133 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 214 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 286 | sprintf(buffer, "%s\n", info->comment); | ^ In file included from /usr/include/stdio.h:871, 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 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 1349 | 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 294 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 852 | 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] 471 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 468 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 375 | 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] 530 | 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] 827 | 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] 872 | 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] 1118 | WORD mode = Read16( io, handle ); | ^~~~ Source/FreeImage/PluginPICT.cpp:1127:12: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1127 | WORD type; | ^~~~ Source/FreeImage/PluginPICT.cpp:1150:10: warning: unused variable 'minorVersion' [-Wunused-variable] 1150 | 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] 1220 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; | ^~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)': Source/FreeImage/PluginPICT.cpp:845:12: warning: 'bounds.MacRect::right' may be used uninitialized in this function [-Wmaybe-uninitialized] 845 | UnpackBits( io, handle, dib, bounds, rowBytes, 1 ); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp:984:11: note: 'bounds.MacRect::right' was declared here 984 | MacRect bounds; | ^~~~~~ Source/FreeImage/PluginPICT.cpp:845:12: warning: 'bounds.MacRect::bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] 845 | UnpackBits( io, handle, dib, bounds, rowBytes, 1 ); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp:984:11: note: 'bounds.MacRect::bottom' was declared here 984 | MacRect bounds; | ^~~~~~ Source/FreeImage/PluginPICT.cpp:845:12: warning: 'bounds.MacRect::left' may be used uninitialized in this function [-Wmaybe-uninitialized] 845 | UnpackBits( io, handle, dib, bounds, rowBytes, 1 ); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp:984:11: note: 'bounds.MacRect::left' was declared here 984 | MacRect bounds; | ^~~~~~ Source/FreeImage/PluginPICT.cpp:845:12: warning: 'bounds.MacRect::top' may be used uninitialized in this function [-Wmaybe-uninitialized] 845 | UnpackBits( io, handle, dib, bounds, rowBytes, 1 ); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPICT.cpp:984:11: note: 'bounds.MacRect::top' was declared here 984 | MacRect bounds; | ^~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 80 | (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] 94 | (png_structp)png_ptr; | ^~~~~~~~~~~~~~~~~~~~ Source/FreeImage/PluginPNG.cpp:95:2: warning: statement has no effect [-Wunused-value] 95 | (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] 468 | 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] 534 | 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] 533 | 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] 531 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 130 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o In file included from Source/FreeImage/PluginRAW.cpp:26: Source/FreeImage/../Metadata/FreeImageTag.h:468:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImage/../Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 122 | 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] 144 | 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] 534 | 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] 533 | 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] 531 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 531 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -c Source/FreeImage/PluginTIFF.cpp -o Source/FreeImage/PluginTIFF.o 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] 611 | switch(fit) { | ^ Source/FreeImage/PluginTIFF.cpp: In function 'BOOL IsValidBitsPerSample(uint16, uint16, uint16)': Source/FreeImage/PluginTIFF.cpp:1147:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1147 | } else if((photometric == PHOTOMETRIC_RGB) && (samplesperpixel == 3) || (samplesperpixel == 4)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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] 113 | 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] 468 | 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] 534 | 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] 533 | 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] 531 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 100 | 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] 933 | 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] 1095 | 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] 1555 | 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] 2040 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 89 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 101 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 246 | 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] 324 | 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] 361 | 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] 395 | 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] 425 | 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] 455 | 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] 485 | 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] 516 | 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] 544 | 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] 570 | 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] 602 | 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] 634 | 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] 662 | 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] 322 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 197 | long i1, i2, i, j; | ^~ Source/Utilities.h:197:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable] 197 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 43 | 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] 153 | 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] 153 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 66 | 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' 66 | 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] 67 | 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' 67 | 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] 68 | 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' 68 | 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] 69 | 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' 69 | if(c < 0) c = 0; if(c > 1) c = 1; | ^~ Source/FreeImage/tmoReinhard05.cpp:84:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 84 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 150 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 274 | std::auto_ptr bitmap (new FIMULTIBITMAP); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/10/bits/unique_ptr.h:56:28: note: declared here 56 | template class auto_ptr; | ^~~~~~~~ Source/FreeImage/MultiPage.cpp:275:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 275 | std::auto_ptr header (new MULTIBITMAPHEADER); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/10/bits/unique_ptr.h:56:28: note: declared here 56 | 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] 340 | std::auto_ptr bitmap (new FIMULTIBITMAP); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/10/bits/unique_ptr.h:56:28: note: declared here 56 | template class auto_ptr; | ^~~~~~~~ Source/FreeImage/MultiPage.cpp:341:11: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 341 | std::auto_ptr header (new MULTIBITMAPHEADER); | ^~~~~~~~ In file included from /usr/include/c++/10/memory:83, from Source/Utilities.h:53, from Source/CacheFile.h:28, from Source/FreeImage/MultiPage.cpp:34: /usr/include/c++/10/bits/unique_ptr.h:56:28: note: declared here 56 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 52 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 731 | 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] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 1575 | 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 62 | sprintf(format, "%ld", (LONG) pvalue[0]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | LONG {aka int} | long int | %d Source/Metadata/TagConversion.cpp:65:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 65 | sprintf(format, " %ld", (LONG) pvalue[i]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | LONG {aka int} | long int | %d Source/Metadata/TagConversion.cpp:86:23: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 86 | sprintf(format, "%lu", pvalue[0]); | ~~^ ~~~~~~~~~ | | | | | DWORD {aka unsigned int} | long unsigned int | %u Source/Metadata/TagConversion.cpp:89:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 89 | sprintf(format, " %lu", pvalue[i]); | ~~^ ~~~~~~~~~ | | | | | DWORD {aka unsigned int} | long unsigned int | %u Source/Metadata/TagConversion.cpp:98:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 98 | sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); | ~~^ ~~~~~~~~~ | | | | long int DWORD {aka unsigned int} | %d Source/Metadata/TagConversion.cpp:98:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 98 | sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); | ~~^ ~~~~~~~~~ | | | | long int DWORD {aka unsigned int} | %d Source/Metadata/TagConversion.cpp:101:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 101 | sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); | ~~^ ~~~~~~~~~~~ | | | | long int DWORD {aka unsigned int} | %d Source/Metadata/TagConversion.cpp:101:29: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'DWORD' {aka 'unsigned int'} [-Wformat=] 101 | sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); | ~~^ ~~~~~~~~~~~~~ | | | | long int DWORD {aka unsigned int} | %d Source/Metadata/TagConversion.cpp:110:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 110 | sprintf(format, "%ld", (LONG) pvalue[0]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | LONG {aka int} | long int | %d Source/Metadata/TagConversion.cpp:113:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 113 | sprintf(format, " %ld", (LONG) pvalue[i]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | | LONG {aka int} | long int | %d Source/Metadata/TagConversion.cpp:134:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 134 | sprintf(format, "%ld", pvalue[0]); | ~~^ ~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:137:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 137 | sprintf(format, " %ld", pvalue[i]); | ~~^ ~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:146:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 146 | sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); | ~~^ ~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:146:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'LONG' {aka 'int'} [-Wformat=] 146 | sprintf(format, "%ld/%ld", pvalue[0], pvalue[1]); | ~~^ ~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:149:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'LONG' {aka 'int'} [-Wformat=] 149 | sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); | ~~^ ~~~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:149:29: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'LONG' {aka 'int'} [-Wformat=] 149 | sprintf(format, " %ld/%ld", pvalue[2*i], pvalue[2*i+1]); | ~~^ ~~~~~~~~~~~~~ | | | | long int LONG {aka int} | %d Source/Metadata/TagConversion.cpp:207:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 207 | sprintf(format, "%lld", pvalue[0]); | ~~~^ ~~~~~~~~~ | | | | | UINT64 {aka long unsigned int} | long long int | %ld Source/Metadata/TagConversion.cpp:210:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 210 | sprintf(format, "%lld", pvalue[i]); | ~~~^ ~~~~~~~~~ | | | | | UINT64 {aka long unsigned int} | long long int | %ld Source/Metadata/TagConversion.cpp:220:24: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 220 | sprintf(format, "%llX", pvalue[0]); | ~~~^ ~~~~~~~~~ | | | | | UINT64 {aka long unsigned int} | long long unsigned int | %lX Source/Metadata/TagConversion.cpp:223:25: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'UINT64' {aka 'long unsigned int'} [-Wformat=] 223 | sprintf(format, "%llX", pvalue[i]); | ~~~^ ~~~~~~~~~ | | | | | UINT64 {aka long unsigned int} | long long unsigned int | %lX Source/Metadata/TagConversion.cpp:233:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'INT64' {aka 'long int'} [-Wformat=] 233 | sprintf(format, "%lld", pvalue[0]); | ~~~^ ~~~~~~~~~ | | | | | INT64 {aka long int} | long long int | %ld Source/Metadata/TagConversion.cpp:236:25: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'INT64' {aka 'long int'} [-Wformat=] 236 | sprintf(format, "%lld", pvalue[i]); | ~~~^ ~~~~~~~~~ | | | | | INT64 {aka long int} | long long int | %ld 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] 544 | 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -c Source/Metadata/XTIFF.cpp -o Source/Metadata/XTIFF.o Source/Metadata/XTIFF.cpp: In function 'BOOL tiff_read_exif_tags(TIFF*, TagLib::MDMODEL, FIBITMAP*)': Source/Metadata/XTIFF.cpp:596:10: warning: unused variable 'tagLib' [-Wunused-variable] 596 | TagLib& tagLib = TagLib::instance(); | ^~~~~~ 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] 468 | static const char *g_TagLib_ExifRawFieldName = "ExifRaw"; | ^~~~~~~~~~~~~~~~~~~~~~~~~ Source/Metadata/FreeImageTag.h:465:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable] 465 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 215 | 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] 227 | if((src_bpp != 8) || (dst_bpp != 24) && (dst_bpp != 32)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp:271:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 271 | if((src_bpp != 16) || (dst_bpp != 48) && (dst_bpp != 64)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/Channels.cpp:315:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 315 | 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] 381 | 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] 466 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 151 | 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] 290 | 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] 340 | 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] 459 | 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] 532 | 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] 840 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 = unsigned char]': Source/Utilities.h:350:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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: array subscript 3 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:344:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:339:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:332:40: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:350:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | 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: array subscript 3 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:344:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:339:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:332:40: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:350:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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:44: warning: array subscript 3 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:344:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:339:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:332:42: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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 HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]': Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | 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: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:4: note: while referencing 'pxlSrc' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: while referencing 'pxlLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: while referencing 'pxlLeft' 61 | 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: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: while referencing 'pxlLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:61:27: note: while referencing 'pxlOldLeft' 61 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:349:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 349 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:350:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h: In function 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = float]': Source/Utilities.h:338:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 338 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:339:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:332:42: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:322:38: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 322 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h: In function 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = unsigned char]': Source/Utilities.h:350:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | 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: array subscript 3 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:344:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:339:41: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:332:40: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:350:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | 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:44: warning: array subscript 3 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:344:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:339:43: warning: array subscript 1 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:332:42: warning: array subscript 2 is outside array bounds of 'unsigned char [4]' [-Warray-bounds] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | 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:351:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | 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: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:4: note: while referencing 'pxlSrc' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:15: note: while referencing 'pxlLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:15: note: while referencing 'pxlLeft' 192 | 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: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:15: note: while referencing 'pxlLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:41: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:351:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 351 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | 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:44: warning: array subscript 3 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 352 | *(reinterpret_cast(dst + 12)) = *(reinterpret_cast (src + 12)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:345:43: warning: array subscript 2 is outside array bounds of 'short unsigned int [4]' [-Warray-bounds] 345 | *(reinterpret_cast(dst + 8)) = *(reinterpret_cast (src + 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/FreeImageToolkit/ClassicRotate.cpp:192:27: note: while referencing 'pxlOldLeft' 192 | T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max | ^~~~~~~~~~ In file included from Source/FreeImageToolkit/ClassicRotate.cpp:37: Source/Utilities.h:327:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 327 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:331:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 331 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:338:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 338 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:339:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:343:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 343 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:344:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 344 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:349:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 349 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:350:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 350 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h: In function 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = float]': Source/Utilities.h:318:38: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 318 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:322:38: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 322 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:327:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 327 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:331:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 331 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:332:42: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 332 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:338:39: warning: 'pxlLeft' may be used uninitialized in this function [-Wmaybe-uninitialized] 338 | *(reinterpret_cast(dst)) = *(reinterpret_cast (src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source/Utilities.h:339:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] 339 | *(reinterpret_cast(dst + 4)) = *(reinterpret_cast (src + 4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 159 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -D__ANSI__ -I/usr/include/jxrlib -I/usr/include/OpenEXR -pthread -I/usr/include/openjpeg-2.3 -I/usr/include/libraw -I/usr/include/libpng16 -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] 514 | 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] 1285 | 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] 534 | 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] 533 | 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] 532 | 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] 531 | 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] 530 | 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] 529 | 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] 528 | static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed"; | ^~~~~~~~~~~~~~~~~~~ ar r libfreeimage.a ./Source/FreeImage/BitmapAccess.o ./Source/FreeImage/ColorLookup.o ./Source/FreeImage/ConversionRGBA16.o ./Source/FreeImage/ConversionRGBAF.o ./Source/FreeImage/FreeImage.o ./Source/FreeImage/FreeImageC.o ./Source/FreeImage/FreeImageIO.o ./Source/FreeImage/GetType.o ./Source/FreeImage/LFPQuantizer.o ./Source/FreeImage/MemoryIO.o ./Source/FreeImage/PixelAccess.o ./Source/FreeImage/J2KHelper.o ./Source/FreeImage/MNGHelper.o ./Source/FreeImage/Plugin.o ./Source/FreeImage/PluginBMP.o ./Source/FreeImage/PluginCUT.o ./Source/FreeImage/PluginDDS.o ./Source/FreeImage/PluginEXR.o ./Source/FreeImage/PluginG3.o ./Source/FreeImage/PluginGIF.o ./Source/FreeImage/PluginHDR.o ./Source/FreeImage/PluginICO.o ./Source/FreeImage/PluginIFF.o ./Source/FreeImage/PluginJ2K.o ./Source/FreeImage/PluginJNG.o ./Source/FreeImage/PluginJP2.o ./Source/FreeImage/PluginJPEG.o ./Source/FreeImage/PluginJXR.o ./Source/FreeImage/PluginKOALA.o ./Source/FreeImage/PluginMNG.o ./Source/FreeImage/PluginPCD.o ./Source/FreeImage/PluginPCX.o ./Source/FreeImage/PluginPFM.o ./Source/FreeImage/PluginPICT.o ./Source/FreeImage/PluginPNG.o ./Source/FreeImage/PluginPNM.o ./Source/FreeImage/PluginPSD.o ./Source/FreeImage/PluginRAS.o ./Source/FreeImage/PluginRAW.o ./Source/FreeImage/PluginSGI.o ./Source/FreeImage/PluginTARGA.o ./Source/FreeImage/PluginTIFF.o ./Source/FreeImage/PluginWBMP.o ./Source/FreeImage/PluginWebP.o ./Source/FreeImage/PluginXBM.o ./Source/FreeImage/PluginXPM.o ./Source/FreeImage/PSDParser.o ./Source/FreeImage/TIFFLogLuv.o ./Source/FreeImage/Conversion.o ./Source/FreeImage/Conversion16_555.o ./Source/FreeImage/Conversion16_565.o ./Source/FreeImage/Conversion24.o ./Source/FreeImage/Conversion32.o ./Source/FreeImage/Conversion4.o ./Source/FreeImage/Conversion8.o ./Source/FreeImage/ConversionFloat.o ./Source/FreeImage/ConversionRGB16.o ./Source/FreeImage/ConversionRGBF.o ./Source/FreeImage/ConversionType.o ./Source/FreeImage/ConversionUINT16.o ./Source/FreeImage/Halftoning.o ./Source/FreeImage/tmoColorConvert.o ./Source/FreeImage/tmoDrago03.o ./Source/FreeImage/tmoFattal02.o ./Source/FreeImage/tmoReinhard05.o ./Source/FreeImage/ToneMapping.o ./Source/FreeImage/NNQuantizer.o ./Source/FreeImage/WuQuantizer.o ./Source/FreeImage/CacheFile.o ./Source/FreeImage/MultiPage.o ./Source/FreeImage/ZLibInterface.o ./Source/Metadata/Exif.o ./Source/Metadata/FIRational.o ./Source/Metadata/FreeImageTag.o ./Source/Metadata/IPTC.o ./Source/Metadata/TagConversion.o ./Source/Metadata/TagLib.o ./Source/Metadata/XTIFF.o ./Source/FreeImageToolkit/Background.o ./Source/FreeImageToolkit/BSplineRotate.o ./Source/FreeImageToolkit/Channels.o ./Source/FreeImageToolkit/ClassicRotate.o ./Source/FreeImageToolkit/Colors.o ./Source/FreeImageToolkit/CopyPaste.o ./Source/FreeImageToolkit/Display.o ./Source/FreeImageToolkit/Flip.o ./Source/FreeImageToolkit/JPEGTransform.o ./Source/FreeImageToolkit/MultigridPoissonSolver.o ./Source/FreeImageToolkit/Rescale.o ./Source/FreeImageToolkit/Resize.o ar: creating libfreeimage.a cc -shared -Wl,-soname,libfreeimage.so.3 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ljpeg -ljpegxr -ljxrglue -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -pthread -lopenjp2 -lraw -fopenmp -lpng16 -ltiff -lwebpmux -lwebp -lz -o libfreeimage-3.18.0.so ./Source/FreeImage/BitmapAccess.o ./Source/FreeImage/ColorLookup.o ./Source/FreeImage/ConversionRGBA16.o ./Source/FreeImage/ConversionRGBAF.o ./Source/FreeImage/FreeImage.o ./Source/FreeImage/FreeImageC.o ./Source/FreeImage/FreeImageIO.o ./Source/FreeImage/GetType.o ./Source/FreeImage/LFPQuantizer.o ./Source/FreeImage/MemoryIO.o ./Source/FreeImage/PixelAccess.o ./Source/FreeImage/J2KHelper.o ./Source/FreeImage/MNGHelper.o ./Source/FreeImage/Plugin.o ./Source/FreeImage/PluginBMP.o ./Source/FreeImage/PluginCUT.o ./Source/FreeImage/PluginDDS.o ./Source/FreeImage/PluginEXR.o ./Source/FreeImage/PluginG3.o ./Source/FreeImage/PluginGIF.o ./Source/FreeImage/PluginHDR.o ./Source/FreeImage/PluginICO.o ./Source/FreeImage/PluginIFF.o ./Source/FreeImage/PluginJ2K.o ./Source/FreeImage/PluginJNG.o ./Source/FreeImage/PluginJP2.o ./Source/FreeImage/PluginJPEG.o ./Source/FreeImage/PluginJXR.o ./Source/FreeImage/PluginKOALA.o ./Source/FreeImage/PluginMNG.o ./Source/FreeImage/PluginPCD.o ./Source/FreeImage/PluginPCX.o ./Source/FreeImage/PluginPFM.o ./Source/FreeImage/PluginPICT.o ./Source/FreeImage/PluginPNG.o ./Source/FreeImage/PluginPNM.o ./Source/FreeImage/PluginPSD.o ./Source/FreeImage/PluginRAS.o ./Source/FreeImage/PluginRAW.o ./Source/FreeImage/PluginSGI.o ./Source/FreeImage/PluginTARGA.o ./Source/FreeImage/PluginTIFF.o ./Source/FreeImage/PluginWBMP.o ./Source/FreeImage/PluginWebP.o ./Source/FreeImage/PluginXBM.o ./Source/FreeImage/PluginXPM.o ./Source/FreeImage/PSDParser.o ./Source/FreeImage/TIFFLogLuv.o ./Source/FreeImage/Conversion.o ./Source/FreeImage/Conversion16_555.o ./Source/FreeImage/Conversion16_565.o ./Source/FreeImage/Conversion24.o ./Source/FreeImage/Conversion32.o ./Source/FreeImage/Conversion4.o ./Source/FreeImage/Conversion8.o ./Source/FreeImage/ConversionFloat.o ./Source/FreeImage/ConversionRGB16.o ./Source/FreeImage/ConversionRGBF.o ./Source/FreeImage/ConversionType.o ./Source/FreeImage/ConversionUINT16.o ./Source/FreeImage/Halftoning.o ./Source/FreeImage/tmoColorConvert.o ./Source/FreeImage/tmoDrago03.o ./Source/FreeImage/tmoFattal02.o ./Source/FreeImage/tmoReinhard05.o ./Source/FreeImage/ToneMapping.o ./Source/FreeImage/NNQuantizer.o ./Source/FreeImage/WuQuantizer.o ./Source/FreeImage/CacheFile.o ./Source/FreeImage/MultiPage.o ./Source/FreeImage/ZLibInterface.o ./Source/Metadata/Exif.o ./Source/Metadata/FIRational.o ./Source/Metadata/FreeImageTag.o ./Source/Metadata/IPTC.o ./Source/Metadata/TagConversion.o ./Source/Metadata/TagLib.o ./Source/Metadata/XTIFF.o ./Source/FreeImageToolkit/Background.o ./Source/FreeImageToolkit/BSplineRotate.o ./Source/FreeImageToolkit/Channels.o ./Source/FreeImageToolkit/ClassicRotate.o ./Source/FreeImageToolkit/Colors.o ./Source/FreeImageToolkit/CopyPaste.o ./Source/FreeImageToolkit/Display.o ./Source/FreeImageToolkit/Flip.o ./Source/FreeImageToolkit/JPEGTransform.o ./Source/FreeImageToolkit/MultigridPoissonSolver.o ./Source/FreeImageToolkit/Rescale.o ./Source/FreeImageToolkit/Resize.o -lstdc++ mkdir -p Dist cp *.a Dist/ cp *.so Dist/ cp Source/FreeImage.h Dist/ + /usr/bin/make -O -j4 V=1 VERBOSE=1 -f Makefile.fip '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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipMetadataFind.cpp -o Wrapper/FreeImagePlus/src/fipMetadataFind.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipMultiPage.cpp -o Wrapper/FreeImagePlus/src/fipMultiPage.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipMemoryIO.cpp -o Wrapper/FreeImagePlus/src/fipMemoryIO.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipWinImage.cpp -o Wrapper/FreeImagePlus/src/fipWinImage.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipTag.cpp -o Wrapper/FreeImagePlus/src/fipTag.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/FreeImagePlus.cpp -o Wrapper/FreeImagePlus/src/FreeImagePlus.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 -fasynchronous-unwind-tables -fstack-clash-protection -D__ANSI__ -IWrapper/FreeImagePlus -IDist -c Wrapper/FreeImagePlus/src/fipImage.cpp -o Wrapper/FreeImagePlus/src/fipImage.o ar r libfreeimageplus.a Wrapper/FreeImagePlus/src/fipImage.o Wrapper/FreeImagePlus/src/fipMemoryIO.o Wrapper/FreeImagePlus/src/fipMetadataFind.o Wrapper/FreeImagePlus/src/fipMultiPage.o Wrapper/FreeImagePlus/src/fipTag.o Wrapper/FreeImagePlus/src/fipWinImage.o Wrapper/FreeImagePlus/src/FreeImagePlus.o ar: creating libfreeimageplus.a cc -shared -Wl,-soname,libfreeimageplus.so.3 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -LDist -lfreeimage-3.18.0 -o libfreeimageplus-3.18.0.so Wrapper/FreeImagePlus/src/fipImage.o Wrapper/FreeImagePlus/src/fipMemoryIO.o Wrapper/FreeImagePlus/src/fipMetadataFind.o Wrapper/FreeImagePlus/src/fipMultiPage.o Wrapper/FreeImagePlus/src/fipTag.o Wrapper/FreeImagePlus/src/fipWinImage.o Wrapper/FreeImagePlus/src/FreeImagePlus.o -lstdc++ mkdir -p Dist cp *.a Dist/ cp *.so Dist/ cp Source/FreeImage.h Dist/ cp Wrapper/FreeImagePlus/FreeImagePlus.h Dist/ + pushd Wrapper/FreeImagePlus/doc ~/build/BUILD/FreeImage/Wrapper/FreeImagePlus/doc ~/build/BUILD/FreeImage + doxygen FreeImagePlus.dox warning: Tag 'CLANG_ASSISTED_PARSING' at line 1007 of file 'FreeImagePlus.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'CLANG_OPTIONS' at line 1015 of file 'FreeImagePlus.dox' belongs to an option that was not enabled at compile time. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled. warning: Tag 'PERL_PATH' at line 2090 of file 'FreeImagePlus.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2112 of file 'FreeImagePlus.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/FreeImage/Source/FreeImage.h... Parsing file /builddir/build/BUILD/FreeImage/Source/FreeImage.h... Preprocessing /builddir/build/BUILD/FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.h... Parsing file /builddir/build/BUILD/FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.h... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Computing nesting relations for classes... Associating documentation with classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Distributing member group documentation. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Generating code for file FreeImage.h... Generating code for file FreeImagePlus.h... Generating file documentation... Generating page documentation... Generating group documentation... Generating class documentation... Generating docs for compound fipImage... Generating docs for compound fipMemoryIO... Generating docs for compound fipMetadataFind... Generating docs for compound fipMultiPage... Generating docs for compound fipObject... Generating docs for compound fipTag... Generating docs for compound fipWinImage... Generating docs for compound tagBITMAPINFO... Generating docs for compound tagBITMAPINFOHEADER... Generating docs for compound tagFICOMPLEX... Generating docs for compound tagFIRGB16... Generating docs for compound tagFIRGBA16... Generating docs for compound tagFIRGBAF... Generating docs for compound tagFIRGBF... Generating docs for compound tagRGBQUAD... Generating docs for compound tagRGBTRIPLE... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... lookup cache used 775/65536 hits=5219 misses=779 finished... ~/build/BUILD/FreeImage + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zTaUyC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 + cd FreeImage + install -Dpm 755 Dist/libfreeimage-3.18.0.so /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimage-3.18.0.so + ln -s libfreeimage-3.18.0.so /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimage.so + install -Dpm 755 Dist/libfreeimageplus-3.18.0.so /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimageplus-3.18.0.so + ln -s libfreeimageplus-3.18.0.so /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimageplus.so + install -Dpm 644 Source/FreeImage.h /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/include/FreeImage.h + install -Dpm 644 Wrapper/FreeImagePlus/FreeImagePlus.h /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/include/FreeImagePlus.h + ldconfig -n /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.18.0-8.fc33 --unique-debug-suffix -3.18.0-8.fc33.riscv64 --unique-debug-src-base freeimage-3.18.0-8.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/FreeImage explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimage-3.18.0.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimageplus-3.18.0.so extracting debug info from /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimageplus-3.18.0.so extracting debug info from /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/lib64/libfreeimage-3.18.0.so original debug info size: 7464kB, size after compression: 5732kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 3869 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: freeimage-3.18.0-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.c0prsE + umask 022 + cd /builddir/build/BUILD + cd FreeImage + DOCDIR=/builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage + cp -pr Whatsnew.txt /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3E2M3D + umask 022 + cd /builddir/build/BUILD + cd FreeImage + LICENSEDIR=/builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/licenses/freeimage + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/licenses/freeimage + cp -pr license-fi.txt license-gplv2.txt license-gplv3.txt /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/licenses/freeimage + RPM_EC=0 ++ jobs -p + exit 0 Provides: freeimage = 3.18.0-8.fc33 freeimage(riscv-64) = 3.18.0-8.fc33 libfreeimage.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libHalf.so.24()(64bit) libIex-2_3.so.24()(64bit) libIexMath-2_3.so.24()(64bit) libIlmImf-2_3.so.24()(64bit) libIlmThread-2_3.so.24()(64bit) libImath-2_3.so.24()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libjpegxr.so.0()(64bit) libjxrglue.so.0()(64bit) libopenjp2.so.7()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libraw.so.19()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libwebp.so.7()(64bit) libwebpmux.so.3()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: freeimage-devel-3.18.0-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mdq7pF + umask 022 + cd /builddir/build/BUILD + cd FreeImage + DOCDIR=/builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-devel + cp -pr Examples /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: freeimage-devel = 3.18.0-8.fc33 freeimage-devel(riscv-64) = 3.18.0-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freeimage-plus-3.18.0-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q3DSmF + umask 022 + cd /builddir/build/BUILD + cd FreeImage + DOCDIR=/builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus + cp -pr Wrapper/FreeImagePlus/WhatsNew_FIP.txt /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus + RPM_EC=0 ++ jobs -p + exit 0 Provides: freeimage-plus = 3.18.0-8.fc33 freeimage-plus(riscv-64) = 3.18.0-8.fc33 libfreeimageplus.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreeimage.so.3()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) rtld(GNU_HASH) Processing files: freeimage-plus-devel-3.18.0-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cdahNF + umask 022 + cd /builddir/build/BUILD + cd FreeImage + DOCDIR=/builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus-devel + cp -pr Wrapper/FreeImagePlus/html /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64/usr/share/doc/freeimage-plus-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: freeimage-plus-devel = 3.18.0-8.fc33 freeimage-plus-devel(riscv-64) = 3.18.0-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freeimage-debugsource-3.18.0-8.fc33.riscv64 Provides: freeimage-debugsource = 3.18.0-8.fc33 freeimage-debugsource(riscv-64) = 3.18.0-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freeimage-debuginfo-3.18.0-8.fc33.riscv64 Provides: debuginfo(build-id) = 5a2b9387b203ea8ec3c09385e5d987a2ecbe70f5 freeimage-debuginfo = 3.18.0-8.fc33 freeimage-debuginfo(riscv-64) = 3.18.0-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freeimage-debugsource(riscv-64) = 3.18.0-8.fc33 Processing files: freeimage-plus-debuginfo-3.18.0-8.fc33.riscv64 Provides: debuginfo(build-id) = a517713aa5c1de8ba62f5eb510453db32b1640eb freeimage-plus-debuginfo = 3.18.0-8.fc33 freeimage-plus-debuginfo(riscv-64) = 3.18.0-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freeimage-debugsource(riscv-64) = 3.18.0-8.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 Wrote: /builddir/build/RPMS/freeimage-plus-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-devel-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-plus-debuginfo-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-plus-devel-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-debugsource-3.18.0-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/freeimage-debuginfo-3.18.0-8.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZGst8E + umask 022 + cd /builddir/build/BUILD + cd FreeImage + /usr/bin/rm -rf /builddir/build/BUILDROOT/freeimage-3.18.0-8.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0