Cook: exempi 2.5.2 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): boost-dev-1.68.0-i486 Installing (pkg/local): boost-date-time-1.68.0-i486 Installing (pkg/local): boost-iostreams-1.68.0-i486 Installing (pkg/local): libicu-60.2-i486 Installing (pkg/local): icu-60.2-i486 Installing (pkg/local): boost-regex-1.68.0-i486 Installing (pkg/local): boost-serialization-1.68.0-i486 Installing (pkg/local): boost-system-1.68.0-i486 Installing (pkg/local): boost-thread-1.68.0-i486 Installing (pkg/local): boost-1.68.0-any Installing (pkg/local): boost-chrono-1.68.0-i486 Installing (pkg/local): boost-timer-1.68.0-i486 Installing (pkg/local): boost-unit-test-framework-1.68.0-i486 Installing (pkg/local): expat-dev-2.2.9-any Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "exempi-2.5.2.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i486-slitaz-linux-nm -B checking the name lister (/usr/bin/i486-slitaz-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/i486-slitaz-linux-nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E checking for ld used by i486-slitaz-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i486-slitaz-linux-g++ option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-g++ static flag -static works... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether i486-slitaz-linux-g++ supports C++11 features by default... yes checking whether byte ordering is bigendian... no checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for thread local storage (TLS) class... __thread checking whether the linker accepts the -Wl,--retain-symbols-file=_ac_foo.sym flag... yes checking for Boost headers version >= 1.48.0... yes checking for Boost's header version... 1_68 checking for the toolset name used by Boost for i486-slitaz-linux-g++... configure: WARNING: could not figure out which toolset name to use for i486-slitaz-linux-g++ checking boost/test/unit_test.hpp usability... yes checking boost/test/unit_test.hpp presence... yes checking for boost/test/unit_test.hpp... yes checking for the Boost unit_test_framework library... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no configure: WARNING: Valgrind is missing. checks will run without checking whether C++ compiler accepts -fvisibility=hidden... yes checking whether C++ compiler accepts -Werror=unknown-warning-option... no checking whether C++ compiler accepts -Wchar-subscripts... yes checking whether C++ compiler accepts -Wcast-align... yes checking whether C++ compiler accepts -Wextra... yes checking whether C++ compiler accepts -Wexceptions... no checking whether C++ compiler accepts -Wheader-guard... no checking whether C++ compiler accepts -Wformat... yes checking whether C++ compiler accepts -Wformat-security... yes checking whether C++ compiler accepts -Wlogical-not-parentheses... yes checking whether C++ compiler accepts -Wmisleading-indentation... yes checking whether C++ compiler accepts -Wmissing-noreturn... yes checking whether C++ compiler accepts -Woverloaded-virtual... yes checking whether C++ compiler accepts -Wpointer-arith... yes checking whether C++ compiler accepts -Wpointer-bool-conversion... no checking whether C++ compiler accepts -Wshadow... yes checking whether C++ compiler accepts -Wsign-compare... yes checking whether C++ compiler accepts -Wno-suggest-attribute=noreturn... yes checking whether C++ compiler accepts -Wnull-conversion... no checking whether C++ compiler accepts -Wunreachable-code... yes checking whether C++ compiler accepts -Wunused... yes checking whether C++ compiler accepts -Wwrite-strings... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating third-party/Makefile config.status: creating third-party/zuid/interfaces/Makefile config.status: creating third-party/zlib/Makefile config.status: creating third-party/expat/Makefile config.status: creating source/Makefile config.status: creating XMPCore/Makefile config.status: creating XMPCore/source/Makefile config.status: creating XMPFiles/Makefile config.status: creating XMPFiles/source/Makefile config.status: creating XMPFiles/source/FileHandlers/Makefile config.status: creating XMPFiles/source/FormatSupport/Makefile config.status: creating XMPFiles/source/NativeMetadataSupport/Makefile config.status: creating XMPFiles/source/PluginHandler/Makefile config.status: creating XMPFilesPlugins/Makefile config.status: creating XMPFilesPlugins/api/Makefile config.status: creating XMPFilesPlugins/api/source/Makefile config.status: creating XMPFilesPlugins/PDF_Handler/Makefile config.status: creating samples/Makefile config.status: creating samples/source/Makefile config.status: creating samples/testfiles/Makefile config.status: creating build/GNUmakefile config.status: creating public/Makefile config.status: creating public/include/Makefile config.status: creating public/include/client-glue/Makefile config.status: creating exempi/Makefile config.status: creating exempi/doc/Makefile config.status: creating exempi/doc/Doxyfile config.status: creating exempi/exempi-2.0.pc config.status: executing depfiles commands config.status: executing libtool commands Defines: EXEMPI_PLATFORM_DEF = UNIX_ENV CPPFLAGS = -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS = -Wl,-Os,--as-needed Thread Local Storage = __thread Run unit test = yes Making all in third-party make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' Making all in zuid/interfaces make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' CXX MD5.lo CXXLD libmd5.la make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' Making all in source make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' CXX UnicodeConversions.lo CXX XML_Node.lo CXX XMPFiles_IO.lo CXX XMP_LibUtils.lo CXX XIO.lo CXX Host_IO-POSIX.lo Host_IO-POSIX.cpp: In function 'bool Host_IO::GetNextChild(Host_IO::FolderRef, std::__cxx11::string*)': Host_IO-POSIX.cpp:524:52: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] int err = readdir_r ( folder, childInfo, &result ); // ! Use the thread-safe form. ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../public/include/XMP_Const.h:16, from ../source/Host_IO.hpp:14, from Host_IO-POSIX.cpp:12: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^~~~~~~~~~ Host_IO-POSIX.cpp:524:52: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] int err = readdir_r ( folder, childInfo, &result ); // ! Use the thread-safe form. ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../public/include/XMP_Const.h:16, from ../source/Host_IO.hpp:14, from Host_IO-POSIX.cpp:12: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^~~~~~~~~~ CXX XMP_ProgressTracker.lo CXX PerfUtils.lo CXX IOUtils.lo CXXLD libxmpcommon.la make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' Making all in XMPCore make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' Making all in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' CXX ExpatAdapter.lo CXX WXMPIterator.lo CXX WXMPUtils.lo CXX XMPIterator.lo CXX XMPMeta-GetSet.lo CXX XMPMeta-Serialize.lo XMPIterator.cpp: In function 'void AddNodeOffspring(IterInfo&, IterNode&, const XMP_Node*)': XMPIterator.cpp:117:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] snprintf ( buffer, sizeof(buffer), "[%lu]", childNum+1 ); // ! XPath indices are one-based. ^~~~~~~ ~~~~~~~~~~ CXX XMPUtils-FileInfo.lo CXX ParseRDF.lo CXX WXMPMeta.lo CXX XMPCore_Impl.lo CXX XMPMeta.lo CXX XMPMeta-Parse.lo CXX XMPUtils.lo XMPUtils.cpp: In static member function 'static void XMPUtils::ConvertToDate(XMP_StringPtr, XMP_DateTime*)': XMPUtils.cpp:2484:49: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct XMP_DateTime'; use assignment or value-initialization instead [-Wclass-memaccess] (void) memset ( binValue, 0, sizeof(*binValue) ); // AUDIT: Safe, using sizeof destination. ^ In file included from ../../XMPCore/source/XMPCore_Impl.hpp:13, from XMPUtils.cpp:10: ../../public/include/XMP_Const.h:226:8: note: 'struct XMP_DateTime' declared here struct XMP_DateTime { ^~~~~~~~~~~~ CXXLD libXMPCore.la make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' Making all in XMPFiles make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' Making all in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' Making all in FileHandlers make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' CXX ASF_Handler.lo CXX AIFF_Handler.lo CXX AVCHD_Handler.lo CXX Basic_Handler.lo CXX FLV_Handler.lo CXX InDesign_Handler.lo FLV_Handler.cpp: In function 'void GetTagInfo(XMP_IO*, XMP_Uns64, TagInfo*)': FLV_Handler.cpp:200:55: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] info->time = GetUns24BE ( &buffer[4] ) || (buffer[7] << 24); ~~~~~~~~~~~^~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from ../../../XMPFiles/source/FormatSupport/ASF_Support.hpp:17, from ../../../XMPFiles/source/FileHandlers/ASF_Handler.hpp:14, from ASF_Handler.cpp:19: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX JPEG_Handler.lo CXX MP3_Handler.lo CXX MPEG2_Handler.lo CXX MPEG4_Handler.lo CXX P2_Handler.lo CXX PNG_Handler.lo MPEG4_Handler.cpp: In function 'void SecondsToXMPDate(XMP_Uns64, XMP_DateTime*)': MPEG4_Handler.cpp:353:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct XMP_DateTime'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( xmpDate, 0, sizeof(XMP_DateTime) ); // AUDIT: Using sizeof(XMP_DateTime) is safe. ^ In file included from MPEG4_Handler.cpp:12: ../../../public/include/XMP_Const.h:226:8: note: 'struct XMP_DateTime' declared here struct XMP_DateTime { ^~~~~~~~~~~~ MPEG4_Handler.cpp: In function 'void CheckFinalBox(XMP_IO*, XMP_AbortProc, void*)': MPEG4_Handler.cpp:1875:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ISOMedia::BoxInfo'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( &prevBox, 0, sizeof(prevBox) ); // AUDIT: Using sizeof(prevBox) is safe. ^ In file included from ../../../XMPFiles/source/FormatSupport/QuickTime_Support.hpp:23, from ../../../XMPFiles/source/FileHandlers/MPEG4_Handler.hpp:16, from MPEG4_Handler.cpp:19: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:103:9: note: 'struct ISOMedia::BoxInfo' declared here struct BoxInfo { ^~~~~~~ MPEG4_Handler.cpp:1876:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ISOMedia::BoxInfo'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( &lastBox, 0, sizeof(lastBox) ); // AUDIT: Using sizeof(lastBox) is safe. ^ In file included from ../../../XMPFiles/source/FormatSupport/QuickTime_Support.hpp:23, from ../../../XMPFiles/source/FileHandlers/MPEG4_Handler.hpp:16, from MPEG4_Handler.cpp:19: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:103:9: note: 'struct ISOMedia::BoxInfo' declared here struct BoxInfo { ^~~~~~~ MPEG4_Handler.cpp: In member function 'virtual void MPEG4_MetaHandler::CacheFileData()': MPEG4_Handler.cpp:2040:13: warning: declaration of 'parent' shadows a member of 'MPEG4_MetaHandler' [-Wshadow] XMPFiles * parent = this->parent; ^~~~~~ In file included from MPEG4_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:314:17: note: shadowed declaration is here XMPFiles * parent; // Let's the handler see the file info. ^~~~~~ MPEG4_Handler.cpp: In member function 'virtual void MPEG4_MetaHandler::ProcessXMP()': MPEG4_Handler.cpp:2135:13: warning: declaration of 'parent' shadows a member of 'MPEG4_MetaHandler' [-Wshadow] XMPFiles * parent = this->parent; ^~~~~~ In file included from MPEG4_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:314:17: note: shadowed declaration is here XMPFiles * parent; // Let's the handler see the file info. ^~~~~~ CXX PostScript_Handler.lo In file included from ../../../XMPFiles/source/FileHandlers/JPEG_Handler.hpp:18, from JPEG_Handler.cpp:17: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from MP3_Handler.cpp:16: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ P2_Handler.cpp: In member function 'XML_Node* P2_MetaHandler::ForceChildElement(XML_Node*, XMP_StringPtr, XMP_Int32, XMP_Bool)': P2_Handler.cpp:923:135: warning: declaration of 'parent' shadows a member of 'P2_MetaHandler' [-Wshadow] XML_Node * P2_MetaHandler::ForceChildElement ( XML_Node * parent, XMP_StringPtr localName, XMP_Int32 indent , XMP_Bool insertAtFront ) ^ In file included from P2_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:314:17: note: shadowed declaration is here XMPFiles * parent; // Let's the handler see the file info. ^~~~~~ MPEG4_Handler.cpp: In function 'const void* FindTimecode_trak(const MOOV_Manager&)': MPEG4_Handler.cpp:1083:9: warning: 'trakRef' may be used uninitialized in this function [-Wmaybe-uninitialized] return trakRef; ^~~~~~~ CXX PSD_Handler.lo CXX RIFF_Handler.lo CXX Scanner_Handler.lo PostScript_Handler.cpp: In member function 'bool PostScript_MetaHandler::FindFirstPacket()': PostScript_Handler.cpp:235:19: warning: declaration of 'packetInfo' shadows a member of 'PostScript_MetaHandler' [-Wshadow] XMP_PacketInfo & packetInfo = this->packetInfo; ^~~~~~~~~~ In file included from PostScript_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:324:19: note: shadowed declaration is here XMP_PacketInfo packetInfo; // ! This is always info about the packet in the file, if any! ^~~~~~~~~~ PostScript_Handler.cpp: In member function 'bool PostScript_MetaHandler::FindLastPacket()': PostScript_Handler.cpp:314:19: warning: declaration of 'packetInfo' shadows a member of 'PostScript_MetaHandler' [-Wshadow] XMP_PacketInfo & packetInfo = this->packetInfo; ^~~~~~~~~~ In file included from PostScript_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:324:19: note: shadowed declaration is here XMP_PacketInfo packetInfo; // ! This is always info about the packet in the file, if any! ^~~~~~~~~~ PostScript_Handler.cpp: In member function 'void PostScript_MetaHandler::ReadXMPPacket(std::__cxx11::string&)': PostScript_Handler.cpp:965:69: warning: declaration of 'xmpPacket' shadows a member of 'PostScript_MetaHandler' [-Wshadow] void PostScript_MetaHandler::ReadXMPPacket (std::string & xmpPacket ) ^ In file included from PostScript_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:325:17: note: shadowed declaration is here std::string xmpPacket; // ! This is the current XMP, updated by XMPFiles::PutXMP. ^~~~~~~~~ PostScript_Handler.cpp: In member function 'UpdateMethod PostScript_MetaHandler::DetermineUpdateMethod(std::__cxx11::string&)': PostScript_Handler.cpp:1309:19: warning: declaration of 'xmpPacket' shadows a member of 'PostScript_MetaHandler' [-Wshadow] std::string & xmpPacket = this->xmpPacket; ^~~~~~~~~ In file included from PostScript_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:325:17: note: shadowed declaration is here std::string xmpPacket; // ! This is the current XMP, updated by XMPFiles::PutXMP. ^~~~~~~~~ PostScript_Handler.cpp:1310:19: warning: declaration of 'packetInfo' shadows a member of 'PostScript_MetaHandler' [-Wshadow] XMP_PacketInfo & packetInfo = this->packetInfo; ^~~~~~~~~~ In file included from PostScript_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:324:19: note: shadowed declaration is here XMP_PacketInfo packetInfo; // ! This is always info about the packet in the file, if any! ^~~~~~~~~~ CXX SonyHDV_Handler.lo CXX SWF_Handler.lo PSD_Handler.cpp: In member function 'virtual void PSD_MetaHandler::UpdateFile(bool)': PSD_Handler.cpp:263:41: warning: unused parameter 'doSafeUpdate' [-Wunused-parameter] void PSD_MetaHandler::UpdateFile ( bool doSafeUpdate ) ~~~~~^~~~~~~~~~~~ In file included from RIFF_Handler.cpp:13: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:164:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:173:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ In file included from ../../../XMPFiles/source/FileHandlers/PSD_Handler.hpp:13, from PSD_Handler.cpp:17: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ RIFF_Handler.cpp: In member function 'virtual void RIFF_MetaHandler::UpdateFile(bool)': RIFF_Handler.cpp:300:16: warning: declaration of 'mainChunk' shadows a previous local [-Wshadow] RIFF::Chunk* mainChunk = rc->at(0); ^~~~~~~~~ RIFF_Handler.cpp:197:24: note: shadowed declaration is here RIFF::ContainerChunk* mainChunk = rc->at(0); ^~~~~~~~~ RIFF_Handler.cpp:184:42: warning: unused parameter 'doSafeUpdate' [-Wunused-parameter] void RIFF_MetaHandler::UpdateFile ( bool doSafeUpdate ) ~~~~~^~~~~~~~~~~~ In file included from RIFF_Handler.cpp:13: ../../../XMPFiles/source/FormatSupport/RIFF.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:166:17: warning: 'RIFF::listTdatProps' defined but not used [-Wunused-variable] static Mapping listTdatProps[] = { ^~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:142:17: warning: 'RIFF::listInfoProps' defined but not used [-Wunused-variable] static Mapping listInfoProps[] = { ^~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:139:17: warning: 'RIFF::bextCodingHistory' defined but not used [-Wunused-variable] static Mapping bextCodingHistory = { 0, kXMP_NS_BWF, "codingHistory", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:138:17: warning: 'RIFF::bextUMID' defined but not used [-Wunused-variable] static Mapping bextUMID = { 0, kXMP_NS_BWF, "umid", prop_SIMPLE }; ^~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:137:17: warning: 'RIFF::bextVersion' defined but not used [-Wunused-variable] static Mapping bextVersion = { 0, kXMP_NS_BWF, "version", prop_SIMPLE }; ^~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:136:17: warning: 'RIFF::bextTimeReference' defined but not used [-Wunused-variable] static Mapping bextTimeReference = { 0, kXMP_NS_BWF, "timeReference", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:135:17: warning: 'RIFF::bextOriginationTime' defined but not used [-Wunused-variable] static Mapping bextOriginationTime = { 0, kXMP_NS_BWF, "originationTime", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:134:17: warning: 'RIFF::bextOriginationDate' defined but not used [-Wunused-variable] static Mapping bextOriginationDate = { 0, kXMP_NS_BWF, "originationDate", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:133:17: warning: 'RIFF::bextOriginatorRef' defined but not used [-Wunused-variable] static Mapping bextOriginatorRef = { 0, kXMP_NS_BWF, "originatorReference", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:132:17: warning: 'RIFF::bextOriginator' defined but not used [-Wunused-variable] static Mapping bextOriginator = { 0, kXMP_NS_BWF, "originator", prop_SIMPLE }; ^~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:131:17: warning: 'RIFF::bextDescription' defined but not used [-Wunused-variable] static Mapping bextDescription = { 0, kXMP_NS_BWF, "description", prop_SIMPLE }; ^~~~~~~~~~~~~~~ CXX SVG_Handler.lo CXX TIFF_Handler.lo Scanner_Handler.cpp: In function 'int PickMainPacket(std::vector&, bool)': Scanner_Handler.cpp:167:49: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct XMP_DateTime'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( &latestTime, 0, sizeof(latestTime) ); ^ In file included from Scanner_Handler.cpp:12: ../../../public/include/XMP_Const.h:226:8: note: 'struct XMP_DateTime' declared here struct XMP_DateTime { ^~~~~~~~~~~~ Scanner_Handler.cpp: In member function 'virtual void Scanner_MetaHandler::CacheFileData()': Scanner_Handler.cpp:285:16: warning: declaration of 'xmpPacket' shadows a member of 'Scanner_MetaHandler' [-Wshadow] std::string xmpPacket; ^~~~~~~~~ In file included from Scanner_Handler.cpp:15: ../../../XMPFiles/source/XMPFiles_Impl.hpp:325:17: note: shadowed declaration is here std::string xmpPacket; // ! This is the current XMP, updated by XMPFiles::PutXMP. ^~~~~~~~~ CXX Trivial_Handler.lo CXX UCF_Handler.lo CXX XDCAMEX_Handler.lo In file included from ../../../XMPFiles/source/FileHandlers/TIFF_Handler.hpp:13, from TIFF_Handler.cpp:17: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX XDCAM_Handler.lo CXX XDCAMFAM_Handler.lo CXX XDCAMSAM_Handler.lo CXX WAVE_Handler.lo CXX GIF_Handler.lo CXX WEBP_Handler.lo In file included from ../../../XMPFiles/source/FileHandlers/WEBP_Handler.hpp:8, from WEBP_Handler.cpp:4: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXXLD libxmpfilehandlers.la make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' Making all in FormatSupport make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' CXX PackageFormat_Support.lo CXX PostScript_Support.lo CXX PSIR_FileWriter.lo CXX ReconcileTIFF.lo CXX Reconcile_Impl.lo CXX TIFF_MemoryReader.lo PostScript_Support.cpp: In function 'bool PostScript_Support::IsValidPSFile(XMP_IO*, XMP_FileFormat&)': PostScript_Support.cpp:267:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if ( ! CheckBytes ( ioBuf.ptr, Uns8Ptr("EPSF-"), 5 ) ) return true; ^~ PostScript_Support.cpp:270:3: note: here case kXMP_EPSFile: ^~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from Reconcile_Impl.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ In file included from PostScript_Support.cpp:10: ../../../XMPFiles/source/FormatSupport/PostScript_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/PostScript_Support.hpp:114:18: warning: 'nativeIndextoFlag' defined but not used [-Wunused-variable] static XMP_Uns64 nativeIndextoFlag[]={ kPS_CreatorTool, ^~~~~~~~~~~~~~~~~ CXX IPTC_Support.lo ReconcileTIFF.cpp:102:1: warning: missing initializer for member 'TIFF_MappingToXMP::ns' [-Wmissing-field-initializers] }; ^ ReconcileTIFF.cpp:102:1: warning: missing initializer for member 'TIFF_MappingToXMP::name' [-Wmissing-field-initializers] ReconcileTIFF.cpp:176:1: warning: missing initializer for member 'TIFF_MappingToXMP::ns' [-Wmissing-field-initializers] }; ^ ReconcileTIFF.cpp:176:1: warning: missing initializer for member 'TIFF_MappingToXMP::name' [-Wmissing-field-initializers] ReconcileTIFF.cpp:207:1: warning: missing initializer for member 'TIFF_MappingToXMP::ns' [-Wmissing-field-initializers] }; ^ ReconcileTIFF.cpp:207:1: warning: missing initializer for member 'TIFF_MappingToXMP::name' [-Wmissing-field-initializers] In file included from TIFF_MemoryReader.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX PSIR_MemoryReader.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from ReconcileTIFF.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX ReconcileIPTC.lo CXX RIFF.lo CXX ID3_Support.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from IPTC_Support.cpp:15: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX RIFF_Support.lo CXX TIFF_Support.lo ReconcileIPTC.cpp: In function 'void PhotoDataUtils::ImportIPTC_Date(XMP_Uns8, const IPTC_Manager&, SXMPMeta*)': ReconcileIPTC.cpp:200:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct XMP_DateTime'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( &xmpDate, 0, sizeof(xmpDate) ); ^ In file included from ReconcileIPTC.cpp:11: ../../../public/include/XMP_Const.h:226:8: note: 'struct XMP_DateTime' declared here struct XMP_DateTime { ^~~~~~~~~~~~ In file included from RIFF.cpp:20: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:164:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:173:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ RIFF.cpp: In constructor 'RIFF::ContainerChunk::ContainerChunk(RIFF::ContainerChunk*, XMP_Uns32, XMP_Uns32)': RIFF.cpp:240:97: warning: declaration of 'containerType' shadows a member of 'RIFF::ContainerChunk' [-Wshadow] ContainerChunk::ContainerChunk( ContainerChunk* parent_, XMP_Uns32 id_, XMP_Uns32 containerType ) : Chunk( NULL /* !! */, chunk_CONTAINER, id_ ) ^ In file included from RIFF.cpp:20: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:300:13: note: shadowed declaration is here XMP_Uns32 containerType; // e.g. kType_INFO as in "LIST:INFO" ^~~~~~~~~~~~~ RIFF.cpp: In constructor 'RIFF::ContainerChunk::ContainerChunk(RIFF::ContainerChunk*, RIFF_MetaHandler*)': RIFF.cpp:256:83: warning: declaration of 'parent' shadows a member of 'RIFF::ContainerChunk' [-Wshadow] ContainerChunk::ContainerChunk( ContainerChunk* parent, RIFF_MetaHandler* handler ) : Chunk( parent, handler, false, chunk_CONTAINER ) ^ In file included from RIFF.cpp:20: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:222:20: note: shadowed declaration is here ContainerChunk* parent; // 0 on top-level ^~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from ReconcileIPTC.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:166:17: warning: 'RIFF::listTdatProps' defined but not used [-Wunused-variable] static Mapping listTdatProps[] = { ^~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:142:17: warning: 'RIFF::listInfoProps' defined but not used [-Wunused-variable] static Mapping listInfoProps[] = { ^~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:139:17: warning: 'RIFF::bextCodingHistory' defined but not used [-Wunused-variable] static Mapping bextCodingHistory = { 0, kXMP_NS_BWF, "codingHistory", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:138:17: warning: 'RIFF::bextUMID' defined but not used [-Wunused-variable] static Mapping bextUMID = { 0, kXMP_NS_BWF, "umid", prop_SIMPLE }; ^~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:137:17: warning: 'RIFF::bextVersion' defined but not used [-Wunused-variable] static Mapping bextVersion = { 0, kXMP_NS_BWF, "version", prop_SIMPLE }; ^~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:136:17: warning: 'RIFF::bextTimeReference' defined but not used [-Wunused-variable] static Mapping bextTimeReference = { 0, kXMP_NS_BWF, "timeReference", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:135:17: warning: 'RIFF::bextOriginationTime' defined but not used [-Wunused-variable] static Mapping bextOriginationTime = { 0, kXMP_NS_BWF, "originationTime", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:134:17: warning: 'RIFF::bextOriginationDate' defined but not used [-Wunused-variable] static Mapping bextOriginationDate = { 0, kXMP_NS_BWF, "originationDate", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:133:17: warning: 'RIFF::bextOriginatorRef' defined but not used [-Wunused-variable] static Mapping bextOriginatorRef = { 0, kXMP_NS_BWF, "originatorReference", prop_SIMPLE }; ^~~~~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:132:17: warning: 'RIFF::bextOriginator' defined but not used [-Wunused-variable] static Mapping bextOriginator = { 0, kXMP_NS_BWF, "originator", prop_SIMPLE }; ^~~~~~~~~~~~~~ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:131:17: warning: 'RIFF::bextDescription' defined but not used [-Wunused-variable] static Mapping bextDescription = { 0, kXMP_NS_BWF, "description", prop_SIMPLE }; ^~~~~~~~~~~~~~~ CXX ISOBaseMedia_Support.lo ID3_Support.cpp: In member function 'bool ID3_Support::ID3v1Tag::read(XMP_IO*, SXMPMeta*)': ID3_Support.cpp:796:16: warning: declaration of 'buffer' shadows a previous local [-Wshadow] char buffer[4]; // AUDIT: Big enough for UInt8. ^ ID3_Support.cpp:744:11: note: shadowed declaration is here XMP_Uns8 buffer[31]; // nothing is bigger here, than 30 bytes (offsets [0]-[29]) ^~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from ID3_Support.cpp:14: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX PNG_Support.lo In file included from RIFF_Support.cpp:20: ../../../XMPFiles/source/FormatSupport/RIFF.hpp:164:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ ../../../XMPFiles/source/FormatSupport/RIFF.hpp:173:2: warning: missing initializer for member 'RIFF::Mapping::propType' [-Wmissing-field-initializers] }; ^ CXX ReconcileLegacy.lo CXX GIF_Support.lo TIFF_Support.cpp:19:21: warning: 'kTIFF_TypeNames' defined but not used [-Wunused-variable] static const char * kTIFF_TypeNames[] = { "ShortOrLong", "BYTE", "ASCII", "SHORT", "LONG", "RATIONAL", ^~~~~~~~~~~~~~~ In file included from TIFF_Support.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from RIFF_Support.cpp:23: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX SWF_Support.lo In file included from ISOBaseMedia_Support.cpp:13: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:101:18: warning: 'ISOMedia::k_xmpUUID' defined but not used [-Wunused-variable] static XMP_Uns8 k_xmpUUID [16] = { 0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8, 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC }; ^~~~~~~~~ CXX XDCAM_Support.lo CXX TIFF_FileWriter.lo CXX XMPScanner.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ReconcileLegacy.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX MOOV_Support.lo CXX QuickTime_Support.lo CXX ASF_Support.lo CXX TimeConversionUtils.lo XMPScanner.cpp: In static member function 'static XMPScanner::PacketMachine::TriState XMPScanner::PacketMachine::CaptureAttrValue(XMPScanner::PacketMachine*, const char*)': XMPScanner.cpp:374:19: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 1; ~~~~~~~~~~~~~~~^~~ XMPScanner.cpp:377:3: note: here case 1 : // Look for the open quote. ^~~~ XMPScanner.cpp:381:19: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 2; ~~~~~~~~~~~~~~~^~~ XMPScanner.cpp:384:3: note: here default : // Look for the close quote, capturing the value along the way. ^~~~~~~ XMPScanner.cpp: In static member function 'static XMPScanner::PacketMachine::TriState XMPScanner::PacketMachine::RecordStart(XMPScanner::PacketMachine*, const char*)': XMPScanner.cpp:434:20: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 1; ~~~~~~~~~~~~~~~^~~ XMPScanner.cpp:437:4: note: here case 1 : // Look for the first null byte. ^~~~ MOOV_Support.cpp: In member function 'const void* MOOV_Manager::GetBox(const char*, MOOV_Manager::BoxInfo*) const': MOOV_Support.cpp:88:53: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MOOV_Manager::BoxInfo'; use assignment or value-initialization instead [-Wclass-memaccess] if ( info != 0 ) memset ( info, 0, sizeof(BoxInfo) ); ^ In file included from MOOV_Support.cpp:10: ../../../XMPFiles/source/FormatSupport/MOOV_Support.hpp:42:9: note: 'struct MOOV_Manager::BoxInfo' declared here struct BoxInfo { ^~~~~~~ MOOV_Support.cpp: In member function 'const void* MOOV_Manager::GetNthChild(MOOV_Manager::BoxRef, size_t, MOOV_Manager::BoxInfo*) const': MOOV_Support.cpp:119:53: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MOOV_Manager::BoxInfo'; use assignment or value-initialization instead [-Wclass-memaccess] if ( info != 0 ) memset ( info, 0, sizeof(BoxInfo) ); ^ In file included from MOOV_Support.cpp:10: ../../../XMPFiles/source/FormatSupport/MOOV_Support.hpp:42:9: note: 'struct MOOV_Manager::BoxInfo' declared here struct BoxInfo { ^~~~~~~ MOOV_Support.cpp: In member function 'const void* MOOV_Manager::GetTypeChild(MOOV_Manager::BoxRef, XMP_Uns32, MOOV_Manager::BoxInfo*) const': MOOV_Support.cpp:138:53: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MOOV_Manager::BoxInfo'; use assignment or value-initialization instead [-Wclass-memaccess] if ( info != 0 ) memset ( info, 0, sizeof(BoxInfo) ); ^ In file included from MOOV_Support.cpp:10: ../../../XMPFiles/source/FormatSupport/MOOV_Support.hpp:42:9: note: 'struct MOOV_Manager::BoxInfo' declared here struct BoxInfo { ^~~~~~~ In file included from MOOV_Support.cpp:12: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:101:18: warning: 'ISOMedia::k_xmpUUID' defined but not used [-Wunused-variable] static XMP_Uns8 k_xmpUUID [16] = { 0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8, 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC }; ^~~~~~~~~ ASF_Support.cpp: In static member function 'static void ASF_LegacyManager::ConvertMSDateToISODate(std::__cxx11::string&, std::__cxx11::string*)': ASF_Support.cpp:1393:37: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct XMP_DateTime'; use assignment or value-initialization instead [-Wclass-memaccess] memset ( &date, 0, sizeof ( date ) ); ^ In file included from ASF_Support.cpp:11: ../../../public/include/XMP_Const.h:226:8: note: 'struct XMP_DateTime' declared here struct XMP_DateTime { ^~~~~~~~~~~~ CXX P2_Support.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from QuickTime_Support.cpp:26: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/QuickTime_Support.hpp:23, from QuickTime_Support.cpp:22: ../../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:101:18: warning: 'ISOMedia::k_xmpUUID' defined but not used [-Wunused-variable] static XMP_Uns8 k_xmpUUID [16] = { 0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8, 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC }; ^~~~~~~~~ In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from ../../../XMPFiles/source/FormatSupport/ASF_Support.hpp:17, from ASF_Support.cpp:13: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp: At global scope: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX SVG_Adapter.lo CXX WEBP_Support.lo CXX AIFF/AIFFBehavior.lo CXX AIFF/AIFFMetadata.lo CXX AIFF/AIFFReconcile.lo CXX IFF/ChunkController.lo In file included from ../../../XMPFiles/source/FileHandlers/WEBP_Handler.hpp:8, from WEBP_Support.cpp:10: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX IFF/Chunk.lo AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] AIFF/AIFFReconcile.cpp:31:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] CXX IFF/ChunkPath.lo CXX IFF/IChunkBehavior.lo CXX WAVE/BEXTMetadata.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from AIFF/AIFFReconcile.cpp:17: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXX WAVE/DISPMetadata.lo CXX WAVE/WAVEBehavior.lo CXX WAVE/Cr8rMetadata.lo CXX WAVE/PrmLMetadata.lo CXX WAVE/CartMetadata.lo CXX WAVE/INFOMetadata.lo CXX WAVE/WAVEReconcile.lo WAVE/WAVEBehavior.cpp: In member function 'bool IFF_RIFF::WAVEBehavior::parseDS64Chunk(const IFF_RIFF::Chunk&, IFF_RIFF::WAVEBehavior::DS64&)': WAVE/WAVEBehavior.cpp:602:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct IFF_RIFF::WAVEBehavior::DS64' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( &ds64, 0, kMinimumDS64ChunkSize); ^ In file included from WAVE/WAVEBehavior.cpp:14: ../../../XMPFiles/source/FormatSupport/WAVE/WAVEBehavior.h:49:9: note: 'struct IFF_RIFF::WAVEBehavior::DS64' declared here struct DS64 ^~~~ WAVE/WAVEBehavior.cpp:608:46: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct IFF_RIFF::WAVEBehavior::DS64' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy( &ds64, data, kMinimumDS64ChunkSize ); ^ In file included from WAVE/WAVEBehavior.cpp:14: ../../../XMPFiles/source/FormatSupport/WAVE/WAVEBehavior.h:49:9: note: 'struct IFF_RIFF::WAVEBehavior::DS64' declared here struct DS64 ^~~~ CXX WAVE/iXMLMetadata.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from WAVE/CartMetadata.cpp:14: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:61:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:106:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:133:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:141:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPPropName' [-Wmissing-field-initializers] }; ^ WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mMetadataID' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mNativeType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mXMPType' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mDeleteXMPIfNoNative' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mConsiderPriority' [-Wmissing-field-initializers] WAVE/WAVEReconcile.cpp:166:1: warning: missing initializer for member 'MetadataPropertyInfo::mExportPolicy' [-Wmissing-field-initializers] In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from WAVE/WAVEReconcile.cpp:29: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXXLD libformatsupport.la make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' Making all in NativeMetadataSupport make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' CXX IMetadata.lo CXX IReconcile.lo CXX MetadataSet.lo In file included from ../../../XMPFiles/source/FormatSupport/ReconcileLegacy.hpp:15, from ../../../XMPFiles/source/FormatSupport/Reconcile_Impl.hpp:15, from IReconcile.cpp:15: ../../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXXLD libnativemetadata.la make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' Making all in PluginHandler make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' CXX FileHandlerInstance.lo CXX HostAPIImpl.lo CXX Module.lo CXX PluginManager.lo CXX XMPAtoms.lo CXX OS_Utils_Linux.lo FileHandlerInstance.cpp: In member function 'virtual void XMP_PLUGIN::FileHandlerInstance::ProcessXMP()': FileHandlerInstance.cpp:82:18: warning: declaration of 'packetInfo' shadows a member of 'XMP_PLUGIN::FileHandlerInstance' [-Wshadow] XMP_PacketInfo packetInfo; ^~~~~~~~~~ In file included from ModuleUtils.h:12, from Module.h:12, from FileHandler.h:12, from FileHandlerInstance.h:12, from FileHandlerInstance.cpp:10: ../../../XMPFiles/source/XMPFiles_Impl.hpp:324:19: note: shadowed declaration is here XMP_PacketInfo packetInfo; // ! This is always info about the packet in the file, if any! ^~~~~~~~~~ CXXLD libpluginhandler.la make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' CXX XMPFiles.lo CXX WXMPFiles.lo CXX XMPFiles_Impl.lo CXX HandlerRegistry.lo In file included from XMPFiles.cpp:29: ../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:101:18: warning: 'ISOMedia::k_xmpUUID' defined but not used [-Wunused-variable] static XMP_Uns8 k_xmpUUID [16] = { 0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8, 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC }; ^~~~~~~~~ In file included from ../../XMPFiles/source/FileHandlers/PostScript_Handler.hpp:18, from HandlerRegistry.cpp:49: ../../XMPFiles/source/FormatSupport/PostScript_Support.hpp:114:18: warning: 'nativeIndextoFlag' defined but not used [-Wunused-variable] static XMP_Uns64 nativeIndextoFlag[]={ kPS_CreatorTool, ^~~~~~~~~~~~~~~~~ In file included from ../../XMPFiles/source/FormatSupport/QuickTime_Support.hpp:23, from ../../XMPFiles/source/FileHandlers/MPEG4_Handler.hpp:16, from HandlerRegistry.cpp:34: ../../XMPFiles/source/FormatSupport/ISOBaseMedia_Support.hpp:101:18: warning: 'ISOMedia::k_xmpUUID' defined but not used [-Wunused-variable] static XMP_Uns8 k_xmpUUID [16] = { 0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8, 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC }; ^~~~~~~~~ In file included from ../../XMPFiles/source/FileHandlers/JPEG_Handler.hpp:18, from HandlerRegistry.cpp:22: ../../XMPFiles/source/FormatSupport/TIFF_Support.hpp:463:25: warning: 'sKnownTags' defined but not used [-Wunused-variable] static const XMP_Uns16* sKnownTags[kTIFF_KnownIFDCount] = { sKnownPrimaryIFDTags, ^~~~~~~~~~ CXXLD libXMPFiles.la make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' Making all in samples make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' Making all in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' CXX XMPCoreCoverage.o CXX XMPFilesCoverage.o CXX DumpScannedXMP.o CXX DumpMainXMP.o CXX CustomSchema.o CXX ModifyingXMP.o XMPFilesCoverage.cpp: In function 'void DumpHandlerInfo()': XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:96:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( PDF ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:97:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( PostScript ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:98:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( EPS ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:100:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( JPEG ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:101:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( JPEG2K ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:102:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( TIFF ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:103:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( GIF ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:104:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( PNG ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:106:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( MOV ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:107:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( AVI ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:108:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( CIN ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:109:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( WAV ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:110:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( MP3 ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:111:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( SES ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:112:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( CEL ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:113:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( MPEG ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:114:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( MPEG2 ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:115:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( WMAV ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:117:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( HTML ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:118:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( XML ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:119:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( Text ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:121:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( Photoshop ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:122:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( Illustrator ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:123:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( InDesign ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:124:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( AEProject ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:125:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( AEFilterPreset ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:126:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( EncoreProject ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:127:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( PremiereProject ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:128:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( PremiereTitle ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp:84:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "kXMP_" #fmt "File = \"%.4s\", %s, flags = 0x%X\n", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, (ok ? "smart" : "dumb"), flags ); ~~~~~~~ XMPFilesCoverage.cpp:130:2: note: in expansion of macro 'DumpOneFormat' DumpOneFormat ( Unknown ); ^~~~~~~~~~~~~ XMPFilesCoverage.cpp: In function 'void OpenTestFile(const char*, XMP_OptionBits, SXMPMeta*, SXMPFiles*)': XMPFilesCoverage.cpp:161:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "File info : format = \"%.4s\", handler flags = 0x%X, open flags = 0x%X (%s)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &format, handlerFlags, openFlags, (isUpdate ? "update" : "read-only") ); ~~~~~~~ DumpMainXMP.cpp: In function 'void ProcessFile(const char*)': DumpMainXMP.cpp:87:22: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'XMP_FileFormat*' {aka 'unsigned int*'} [-Wformat=] fprintf ( sLogFile, "File info : format = \"%.4s\", handler flags = %.8X\n", &format, handlerFlags ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ XMPCoreCoverage.cpp: In function 'void DoXMPCoreCoverage(FILE*)': XMPCoreCoverage.cpp:1045:13: warning: declaration of 'meta2' shadows a previous local [-Wshadow] SXMPMeta meta2; ^~~~~ XMPCoreCoverage.cpp:1033:12: note: shadowed declaration is here SXMPMeta meta2 ( tmpStr1.c_str(), tmpStr1.size() ); ^~~~~ XMPCoreCoverage.cpp:1374:13: warning: declaration of 'meta' shadows a previous local [-Wshadow] SXMPMeta meta; ^~~~ XMPCoreCoverage.cpp:1132:12: note: shadowed declaration is here SXMPMeta meta ( kRDFCoverage, strlen ( kRDFCoverage ) ); ^~~~ XMPCoreCoverage.cpp:1541:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 0 : %d\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1543:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 42 : %d\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1545:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt -42 : %d\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1547:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 0x7FFFFFFF : %d\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1549:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 0x80000000 : %d\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1551:17: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 0x7FFFFFFF as hex : %X\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ XMPCoreCoverage.cpp:1553:17: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf ( log, "ConvertToInt 0x80000000 as hex : %X\n", int1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ DumpScannedXMP.cpp: In function 'void ProcessPacket(const char*, FILE*, size_t, size_t)': DumpScannedXMP.cpp:72:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] sprintf ( title, "// Dumping raw input for \"%s\" (%lu..%lu)", fileName, offset, (offset + length - 1) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ DumpScannedXMP.cpp:72:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] DumpScannedXMP.cpp:91:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] printf ( "\nPretty serialization, %lu bytes :\n\n%s\n", xmpString.size(), xmpString.c_str() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ DumpScannedXMP.cpp:95:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] printf ( "Compact serialization, %lu bytes :\n\n%s\n", xmpString.size(), xmpString.c_str() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ In file included from DumpScannedXMP.cpp:38: ../../XMPFiles/source/FormatSupport/XMPScanner.cpp: In static member function 'static XMPScanner::PacketMachine::TriState XMPScanner::PacketMachine::CaptureAttrValue(XMPScanner::PacketMachine*, const char*)': ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:374:19: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 1; ~~~~~~~~~~~~~~~^~~ ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:377:3: note: here case 1 : // Look for the open quote. ^~~~ ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:381:19: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 2; ~~~~~~~~~~~~~~~^~~ ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:384:3: note: here default : // Look for the close quote, capturing the value along the way. ^~~~~~~ ../../XMPFiles/source/FormatSupport/XMPScanner.cpp: In static member function 'static XMPScanner::PacketMachine::TriState XMPScanner::PacketMachine::RecordStart(XMPScanner::PacketMachine*, const char*)': ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:434:20: warning: this statement may fall through [-Wimplicit-fallthrough=] ths->fPosition = 1; ~~~~~~~~~~~~~~~^~~ ../../XMPFiles/source/FormatSupport/XMPScanner.cpp:437:4: note: here case 1 : // Look for the first null byte. ^~~~ DumpScannedXMP.cpp: In function 'void ProcessPacket(const char*, FILE*, size_t, size_t)': DumpScannedXMP.cpp:68:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread ( (void*)xmlString.data(), 1, length, inFile ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX ReadingXMP.o CXXLD dumpmainxmp CXXLD customschema CXX xmpcommand/Actions.o CXX xmpcommand/PrintUsage.o CXX xmpcommand/XMPCommand.o xmpcommand/Actions.cpp: In function 'std::__cxx11::string getStringFromFile(const string&)': xmpcommand/Actions.cpp:90:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread ( (char*)content.data(), 1, length, file ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX common/DumpFile.lo CXX common/Log.lo CXX common/TagTree.lo CXXLD xmpcoverage CXXLD xmpfilescoverage common/DumpFile.cpp: In function 'void DumpImageResources(const JpegMarkers&, XMP_Uns8*, const char*)': common/DumpFile.cpp:1354:25: warning: comparison of integer expressions of different signedness: 'XMP_Uns32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if ( irOffset + irLen > (psirMarkers[i].jpegMarkerPtr - dataStart) + psirMarkers[i].jpegMarkerLen ) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXXLD dumpxmp CXXLD modifyingxmp CXXLD readingxmp common/TagTree.cpp: In member function 'void TagTree::digest(LFA_FileRef, std::__cxx11::string, void*, XMP_Int32)': common/TagTree.cpp:168:26: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] snprintf(&out[2+i*3],1,"%c",'\0'); // *) using i one more time (needed while bug 1613297 regarding snprintf not fixed) ^~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8.2.0/cstdio:42, from /usr/include/c++/8.2.0/ext/string_conversions.h:43, from /usr/include/c++/8.2.0/bits/basic_string.h:6391, from /usr/include/c++/8.2.0/string:52, from /usr/include/c++/8.2.0/stdexcept:39, from /usr/include/c++/8.2.0/array:39, from /usr/include/c++/8.2.0/tuple:39, from /usr/include/c++/8.2.0/bits/stl_map.h:63, from /usr/include/c++/8.2.0/map:61, from ../../samples/source/common/TagTree.h:13, from common/TagTree.cpp:23: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 2 bytes into a destination of size 1 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXXLD libsamplescommon.la CXXLD xmpcommandtool make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' Making all in exempi make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' CXX exempi-main.o CXX exempi.lo CXXLD libexempi.la CXXLD exempi make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' Making install in third-party make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' Making install in zuid/interfaces make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party/zuid/interfaces' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/third-party' Making install in source make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/source' Making install in XMPCore make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' Making install in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPCore' Making install in XMPFiles make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' Making install in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' Making install in FileHandlers make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' make[4]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FileHandlers' Making install in FormatSupport make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' make[4]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/FormatSupport' Making install in NativeMetadataSupport make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' make[4]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/NativeMetadataSupport' Making install in PluginHandler make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' make[4]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source/PluginHandler' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[4]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/XMPFiles' Making install in samples make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' Making install in source make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples/source' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/samples' Making install in exempi make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[3]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' .././install-sh -c -d '/home/slitaz/wok/exempi/install/usr/lib' .././install-sh -c -d '/home/slitaz/wok/exempi/install/usr/include/exempi-2.0/exempi' .././install-sh -c -d '/home/slitaz/wok/exempi/install/usr/lib/pkgconfig' .././install-sh -c -d '/home/slitaz/wok/exempi/install/usr/share/man/man1' /bin/sh ../libtool --mode=install /usr/bin/install -c libexempi.la '/home/slitaz/wok/exempi/install/usr/lib' /usr/bin/install -c -m 644 xmp.h xmpconsts.h xmperrors.h xmp++.hpp '/home/slitaz/wok/exempi/install/usr/include/exempi-2.0/exempi' /usr/bin/install -c -m 644 exempi.1 '/home/slitaz/wok/exempi/install/usr/share/man/man1' /usr/bin/install -c -m 644 exempi-2.0.pc '/home/slitaz/wok/exempi/install/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/libexempi.so.8.0.2 /home/slitaz/wok/exempi/install/usr/lib/libexempi.so.8.0.2 libtool: install: (cd /home/slitaz/wok/exempi/install/usr/lib && { ln -s -f libexempi.so.8.0.2 libexempi.so.8 || { rm -f libexempi.so.8 && ln -s libexempi.so.8.0.2 libexempi.so.8; }; }) libtool: install: (cd /home/slitaz/wok/exempi/install/usr/lib && { ln -s -f libexempi.so.8.0.2 libexempi.so || { rm -f libexempi.so && ln -s libexempi.so.8.0.2 libexempi.so; }; }) libtool: install: /usr/bin/install -c .libs/libexempi.lai /home/slitaz/wok/exempi/install/usr/lib/libexempi.la libtool: warning: remember to run 'libtool --finish /usr/lib' .././install-sh -c -d '/home/slitaz/wok/exempi/install/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c exempi '/home/slitaz/wok/exempi/install/usr/bin' libtool: warning: 'libexempi.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/exempi /home/slitaz/wok/exempi/install/usr/bin/exempi make[3]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2/exempi' make[1]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' make[2]: Entering directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' make[1]: Leaving directory '/home/slitaz/wok/exempi/source/exempi-2.5.2' ================================================================================ Executing strip on all files... Done Time: 0.73s. Size: 1116908 B -> 1106552 B. Save: 10 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.87s. Size: 1169 B -> 641 B. Save: 1 KB. Cache hit: 1/1. ================================================================================ Build dependencies to remove: 16 Removing: advancecomp-static boost boost-chrono boost-date-time boost-dev boost-iostreams boost-regex boost-serialization boost-system boost-thread boost-timer boost-unit-test-framework expat-dev icu libicu zlib-dev Pack: exempi 2.5.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "exempi-2.5.2-i486.tazpkg" created Pack: exempi-dev 2.5.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... any Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "exempi-dev-2.5.2-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/exempi-2.5.2... Done Checking site script in source/exempi-2.5.2... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: exempi 2.5.2 ================================================================================ Src file : exempi-2.5.2.tar.gz Src size : 3.8M Source dir : 33.6M Produced : 1.2M Cook time : 125s ~ 02m 05s Cook date : 2020-09-12 06:54 Target arch : any, i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 1.1M : 389.7K : 3 : exempi-2.5.2-i486.tazpkg 2 : 92.0K : 10.6K : 6 : exempi-dev-2.5.2-any.tazpkg ================================================================================