D: [iurt_root_command] chroot warning: %configure2_5x is deprecated, use %configure instead Installing /home/iurt/rpmbuild/SRPMS/parchive2-0.4-15.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jpNCdG + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf par2cmdline-0.4 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/par2cmdline-0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd par2cmdline-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/par2cmdline-gcc4.patch.bz2 + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vpQaOF + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd par2cmdline-0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:39: installing './compile' parallel-tests: installing './test-driver' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++ 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 aarch64-mageia-linux-gnu-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-mageia-linux-gnu-g++... none checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 stdbool.h that conforms to C99... yes checking for _Bool... yes checking for ANSI C header files... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for size_t... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for working memcmp... yes checking for stricmp... no checking for strcasecmp... yes checking for strchr... yes checking for memcpy... yes checking for getopt... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating stamp-h config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o criticalpacket.o criticalpacket.cpp In file included from par2cmdline.h:265, from criticalpacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from criticalpacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from criticalpacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from criticalpacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ In file included from /usr/include/c++/9.2.1/cassert:44, from par2cmdline.h:250, from criticalpacket.cpp:20: criticalpacket.cpp: In member function 'bool CriticalPacket::WritePacket(DiskFile&, u64) const': criticalpacket.cpp:32:20: warning: the compiler can assume that the address of 'diskfile' will never be NULL [-Waddress] 32 | assert(&diskfile != 0 && packetdata != 0 && packetlength != 0); | ~~~~~~~~~~^~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o creatorpacket.o creatorpacket.cpp In file included from par2cmdline.h:265, from creatorpacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from creatorpacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from creatorpacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from creatorpacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o datablock.o datablock.cpp In file included from par2cmdline.h:265, from datablock.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from datablock.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from datablock.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from datablock.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o crc.o crc.cpp In file included from par2cmdline.h:265, from crc.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from crc.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from crc.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from crc.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o descriptionpacket.o descriptionpacket.cpp In file included from par2cmdline.h:265, from descriptionpacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from descriptionpacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from descriptionpacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from descriptionpacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2cmdline.o par2cmdline.cpp In file included from par2cmdline.h:265, from par2cmdline.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2cmdline.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2cmdline.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2cmdline.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o galois.o galois.cpp In file included from par2cmdline.h:265, from galois.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from galois.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from galois.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from galois.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o filechecksummer.o filechecksummer.cpp In file included from par2cmdline.h:265, from filechecksummer.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from filechecksummer.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from filechecksummer.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from filechecksummer.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par1fileformat.o par1fileformat.cpp In file included from par2cmdline.h:265, from par1fileformat.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par1fileformat.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par1fileformat.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par1fileformat.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o diskfile.o diskfile.cpp In file included from par2cmdline.h:265, from diskfile.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from diskfile.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from diskfile.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from diskfile.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o mainpacket.o mainpacket.cpp In file included from par2cmdline.h:265, from mainpacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from mainpacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from mainpacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from mainpacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o md5.o md5.cpp In file included from par2cmdline.h:265, from md5.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from md5.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from md5.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from md5.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o commandline.o commandline.cpp In file included from par2cmdline.h:265, from commandline.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from commandline.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from commandline.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from commandline.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2fileformat.o par2fileformat.cpp In file included from par2cmdline.h:265, from par2fileformat.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2fileformat.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2fileformat.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2fileformat.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par1repairersourcefile.o par1repairersourcefile.cpp In file included from par2cmdline.h:265, from par1repairersourcefile.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par1repairersourcefile.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par1repairersourcefile.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par1repairersourcefile.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2creatorsourcefile.o par2creatorsourcefile.cpp In file included from par2cmdline.h:265, from par2creatorsourcefile.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2creatorsourcefile.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2creatorsourcefile.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2creatorsourcefile.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o recoverypacket.o recoverypacket.cpp In file included from par2cmdline.h:265, from recoverypacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from recoverypacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from recoverypacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from recoverypacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2repairersourcefile.o par2repairersourcefile.cpp In file included from par2cmdline.h:265, from par2repairersourcefile.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2repairersourcefile.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2repairersourcefile.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2repairersourcefile.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o reedsolomon.o reedsolomon.cpp In file included from par2cmdline.h:265, from reedsolomon.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from reedsolomon.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from reedsolomon.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from reedsolomon.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o verificationpacket.o verificationpacket.cpp In file included from par2cmdline.h:265, from verificationpacket.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from verificationpacket.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from verificationpacket.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from verificationpacket.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o verificationhashtable.o verificationhashtable.cpp In file included from par2cmdline.h:265, from verificationhashtable.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from verificationhashtable.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from verificationhashtable.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from verificationhashtable.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par1repairer.o par1repairer.cpp In file included from par2cmdline.h:265, from par1repairer.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par1repairer.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par1repairer.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par1repairer.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ par1repairer.cpp: In member function 'bool Par1Repairer::LoadRecoveryFile(std::string)': par1repairer.cpp:327:87: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 327 | (fileheader.datasize && (fileheader.filelistoffset <= fileheader.dataoffset && fileheader.dataoffset < fileheader.filelistoffset+fileheader.filelistsize || fileheader.dataoffset <= fileheader.filelistoffset && fileheader.filelistoffset < fileheader.dataoffset + fileheader.datasize))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ par1repairer.cpp: In member function 'bool Par1Repairer::LoadOtherRecoveryFiles(std::string)': par1repairer.cpp:521:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 521 | (tail[1] == 'A' || tail[1] == 'a') && (tail[2] == 'R' || tail[2] == 'r') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ par1repairer.cpp: In member function 'bool Par1Repairer::LoadExtraRecoveryFiles(const std::__cxx11::list&)': par1repairer.cpp:552:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 552 | (tail[1] == 'A' || tail[1] == 'a') && (tail[2] == 'R' || tail[2] == 'r') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ par1repairer.cpp: In member function 'bool Par1Repairer::VerifyExtraFiles(const std::__cxx11::list&)': par1repairer.cpp:655:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 655 | (tail[1] == 'A' || tail[1] == 'a') && (tail[2] == 'R' || tail[2] == 'r') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:267, from par1repairer.cpp:20: reedsolomon.h: In instantiation of 'bool ReedSolomon::Compute(CommandLine::NoiseLevel) [with g = Galois<8, 285, unsigned char>]': par1repairer.cpp:1205:39: required from here reedsolomon.h:227:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<8, 285, unsigned char>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 227 | memset(leftmatrix, 0, outcount * incount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par1repairer.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<8, 285, unsigned char>'} declared here 57 | class Galois | ^~~~~~ In file included from par2cmdline.h:267, from par1repairer.cpp:20: reedsolomon.h:235:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<8, 285, unsigned char>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 235 | memset(rightmatrix, 0, outcount *outcount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par1repairer.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<8, 285, unsigned char>'} declared here 57 | class Galois | ^~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2creator.o par2creator.cpp In file included from par2cmdline.h:265, from par2creator.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2creator.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2creator.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2creator.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ In file included from par2cmdline.h:267, from par2creator.cpp:20: reedsolomon.h: In instantiation of 'bool ReedSolomon::Compute(CommandLine::NoiseLevel) [with g = Galois<16, 69643, short unsigned int>]': par2creator.cpp:863:29: required from here reedsolomon.h:227:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 227 | memset(leftmatrix, 0, outcount * incount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par2creator.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} declared here 57 | class Galois | ^~~~~~ In file included from par2cmdline.h:267, from par2creator.cpp:20: reedsolomon.h:235:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 235 | memset(rightmatrix, 0, outcount *outcount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par2creator.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} declared here 57 | class Galois | ^~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o par2repairer.o par2repairer.cpp In file included from par2cmdline.h:265, from par2repairer.cpp:20: par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' 67 | MD5Hash hash; // Hash of entire packet excepting the first 3 fields | ^~~~ par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' 68 | MD5Hash setid; // Normally computed as the Hash of body of "Main Packet" | ^~~~~ par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' 79 | MD5Hash hash; | ^~~~ par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' 84 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' 86 | MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name | ^~~~~~ par2fileformat.h:87:25: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []' 87 | FILEVERIFICATIONENTRY entries[]; | ^~~~~~~ par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' 99 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' 101 | MD5Hash fileid; // MD5hash of [hash16k, length, name] | ^~~~~~ par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' 102 | MD5Hash hashfull; // MD5 Hash of the whole file | ^~~~~~~~ par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' 103 | MD5Hash hash16k; // MD5 Hash of the first 16k of the file | ^~~~~~~ par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' 127 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' 131 | MD5Hash fileid[0]; | ^~~~~~ par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' 141 | PACKET_HEADER header; | ^~~~~~ par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' 151 | PACKET_HEADER header; | ^~~~~~ In file included from par2cmdline.h:284, from par2repairer.cpp:20: verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const': verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 69 | return crc < r.crc || crc == r.crc && hash < r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const': verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 73 | return crc > r.crc || crc == r.crc && hash > r.hash; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)': verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 186 | if (entry->crc < crc || entry->crc == crc && entry->hash < hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 190 | else if (entry->crc > crc || entry->crc == crc && entry->hash > hash) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const': verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 405 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 412 | checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:284, from par2repairer.cpp:20: verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength() | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:289, from par2repairer.cpp:20: par1fileformat.h: At global scope: par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' 41 | MD5Hash controlhash; | ^~~~~~~~~~~ par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' 42 | MD5Hash sethash; | ^~~~~~~ par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' 56 | MD5Hash hashfull; | ^~~~~~~~ par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' 57 | MD5Hash hash16k; | ^~~~~~~ par2repairer.cpp: In member function 'bool Par2Repairer::LoadPacketsFromFile(std::string)': par2repairer.cpp:361:52: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct PACKET_HEADER' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 361 | memcpy(&header, current, sizeof(header)); | ^ In file included from par2cmdline.h:265, from par2repairer.cpp:20: par2fileformat.h:62:8: note: 'struct PACKET_HEADER' declared here 62 | struct PACKET_HEADER | ^~~~~~~~~~~~~ In file included from par2cmdline.h:267, from par2repairer.cpp:20: reedsolomon.h: In instantiation of 'bool ReedSolomon::Compute(CommandLine::NoiseLevel) [with g = Galois<16, 69643, short unsigned int>]': par2repairer.cpp:2089:39: required from here reedsolomon.h:227:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 227 | memset(leftmatrix, 0, outcount * incount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par2repairer.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} declared here 57 | class Galois | ^~~~~~ In file included from par2cmdline.h:267, from par2repairer.cpp:20: reedsolomon.h:235:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 235 | memset(rightmatrix, 0, outcount *outcount * sizeof(G)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from par2cmdline.h:262, from par2repairer.cpp:20: galois.h:57:7: note: 'ReedSolomon >::G' {aka 'class Galois<16, 69643, short unsigned int>'} declared here 57 | class Galois | ^~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' aarch64-mageia-linux-gnu-g++ -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o par2 par2cmdline.o commandline.o crc.o creatorpacket.o criticalpacket.o datablock.o descriptionpacket.o diskfile.o filechecksummer.o galois.o mainpacket.o md5.o par1fileformat.o par1repairer.o par1repairersourcefile.o par2creator.o par2creatorsourcefile.o par2fileformat.o par2repairer.o par2repairersourcefile.o recoverypacket.o reedsolomon.o verificationhashtable.o verificationpacket.o -lstdc++ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HByQTI + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 + cd par2cmdline-0.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin' /usr/bin/install -p par2 '/home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin' /usr/bin/make install-exec-hook make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' ln -f /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2 /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2create ln -f /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2 /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2verify ln -f /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2 /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2repair make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/par2cmdline-0.4' + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.4-15.mga8 --unique-debug-suffix -0.4-15.mga8.aarch64 --unique-debug-src-base parchive2-0.4-15.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/par2cmdline-0.4 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/bin/par2 hard linked /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2-0.4-15.mga8.aarch64.debug to /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2create-0.4-15.mga8.aarch64.debug hard linked /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2create-0.4-15.mga8.aarch64.debug to /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2repair-0.4-15.mga8.aarch64.debug hard linked /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2repair-0.4-15.mga8.aarch64.debug to /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/lib/debug/usr/bin/par2verify-0.4-15.mga8.aarch64.debug dwz: Too few files for multifile optimization original debug info size: 4724kB, size after compression: 3944kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 764 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/parchive2-0.4-15.mga8.aarch64/par2repairer.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/parchive2-0.4-15.mga8.aarch64/galois.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/parchive2-0.4-15.mga8.aarch64/par2repairersourcefile.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/parchive2-0.4-15.mga8.aarch64/par1repairer.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/parchive2-0.4-15.mga8.aarch64/par2repairersourcefile.h is executable but has no shebang, removing executable bit Processing files: parchive2-0.4-15.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VsTo1J + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd par2cmdline-0.4 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + cp -pr README /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + cp -pr ROADMAP /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64/usr/share/doc/parchive2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: parchive2 = 0.4-15.mga8 parchive2(aarch-64) = 0.4-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: parchive2-debugsource-0.4-15.mga8.aarch64 Provides: parchive2-debugsource = 0.4-15.mga8 parchive2-debugsource(aarch-64) = 0.4-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: parchive2-debuginfo-0.4-15.mga8.aarch64 Provides: debuginfo(build-id) = cdb054f6e47a1a743f31ac330594be817e3061a6 parchive2-debuginfo = 0.4-15.mga8 parchive2-debuginfo(aarch-64) = 0.4-15.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: parchive2-debugsource(aarch-64) = 0.4-15.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/parchive2-0.4-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/parchive2-debugsource-0.4-15.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/parchive2-debuginfo-0.4-15.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gOBG0F + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd par2cmdline-0.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/parchive2-0.4-15.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kvgOUJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf par2cmdline-0.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!