Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/f38-build-713829-94348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674345600 Wrote: /builddir/build/SRPMS/klamav-0.46-41.fc38.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/f38-build-713829-94348/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674345600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5lbGbN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf klamav-0.46 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/klamav-0.46.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd klamav-0.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (klamav-0.46-suse-clamav-path.patch):' Patch #0 (klamav-0.46-suse-clamav-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .suse-clamav-path --fuzz=0 patching file src/klammail/clamdmail.c Patch #1 (klamav-0.41.1-pwd-echo.patch): + echo 'Patch #1 (klamav-0.41.1-pwd-echo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pwd-echo --fuzz=0 patching file src/freshklam.cpp Hunk #1 succeeded at 228 (offset 3 lines). Patch #2 (klamav-0.44-no-kde3-mediamanager.patch): + echo 'Patch #2 (klamav-0.44-no-kde3-mediamanager.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-kde3-mediamanager --fuzz=0 patching file src/directorylist.cpp Patch #3 (klamav-0.46-fix-docpath.patch): + echo 'Patch #3 (klamav-0.46-fix-docpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-docpath --fuzz=0 patching file src/klamav.desktop Patch #4 (klamav-0.46-gzip-api.patch): + echo 'Patch #4 (klamav-0.46-gzip-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gzip-api --fuzz=0 patching file src/dbviewer.cpp Patch #5 (klamav-0.46-clamav-0.101.patch): + echo 'Patch #5 (klamav-0.46-clamav-0.101.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamav-0.101 --fuzz=0 patching file src/klammail/clamdmail.c Patch #6 (klamav-clamav-1.0.patch): + echo 'Patch #6 (klamav-clamav-1.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamav-1.0 --fuzz=0 patching file src/dbviewer.cpp Patch #7 (klamav-configure-c99.patch): + echo 'Patch #7 (klamav-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file acinclude.m4 patching file configure Patch #8 (klamav-c99.patch): + echo 'Patch #8 (klamav-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/klammail/clamdmail.c patching file src/klammail/client.c patching file src/klammail/options.c patching file src/klammail/options.h + touch -r aclocal.m4 acinclude.m4 configure configure.c99 configure.files configure.in configure.in.in + /usr/bin/rm -f po/cs.gmo po/de.gmo po/es.gmo po/it.gmo po/pl.gmo po/pt_BR.gmo po/ru.gmo + find doc -name 'Makefile.*' -o -name index.docbook -type f + xargs /usr/bin/sed -i -e s,klamav02,klamav,g + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ikm6O1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd klamav-0.46 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2009-02-28 05:27:28.000000000 -0500 +++ ./configure 2023-05-18 04:42:29.251801187 -0400 @@ -9204,7 +9204,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./admin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./admin/config.sub ++ basename ./admin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./admin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './admin/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./admin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./admin/config.guess ++ basename ./admin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./admin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './admin/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./admin/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --disable-rpath --without-included-sqlite --with-disableupdates checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as requested) checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-reorder-blocks... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking whether system headers can cope with -O2 -fno-inline... irrelevant checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes using lib directory suffix 64 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-file... no checking for file... /usr/bin/file checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 8 checking for char *... yes checking size of char *... 8 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 8 checking for unsigned long... yes checking size of unsigned long... 8 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fPIE support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib64, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... no configure: WARNING: libjpeg not found. disable JPEG support. checking for perl... /usr/bin/perl checking for Qt... libraries /usr/lib64/qt-3.3/lib, headers /usr/lib64/qt-3.3/include using -mt checking for moc... /usr/lib64/qt-3.3/bin/moc checking for uic... /usr/lib64/qt-3.3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes yes checking for rpath... no checking for KDE... libraries /usr/lib64, headers /usr/include/kde checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/bin/dcopidl checking for dcopidl2cpp... /usr/bin/dcopidl2cpp checking for mcopidl... /usr/bin/mcopidl checking for artsc-config... /usr/bin/artsc-config checking for meinproc... /usr/bin/meinproc checking for kconfig_compiler... /usr/bin/kconfig_compiler checking for dcopidlng... /usr/bin/dcopidlng checking for makekdewidgets... /usr/bin/makekdewidgets checking for xmllint... /usr/bin/xmllint checking whether byte ordering is bigendian... no checking for MAXPATHLEN... checking for pkg-config... yes checking for pkg-config... /usr/bin/pkg-config checking for sqlite3 >= 3.0... yes checking SQLITE_CFLAGS... checking SQLITE_LIBS... -lsqlite3 checking for int... (cached) yes checking size of int... (cached) 4 checking for short... (cached) yes checking size of short... (cached) 2 checking for long... (cached) yes checking size of long... (cached) 8 checking for char *... (cached) yes checking size of char *... (cached) 8 checking for KDE version... KDE 3.5.x (x >=2) or SVN trunk checking for cl_scanfile in -lclamav... yes checking for cl_free in -lclamav... no checking whether to use disable-updates (build KlamAV with GUI updates disabled )... yes checking if doc should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1254. config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating po/Makefile config.status: creating src/Makefile config.status: creating src/about/Makefile config.status: creating src/action/Makefile config.status: creating src/arkollon/Makefile config.status: creating src/icons/Makefile config.status: creating src/klammail/Makefile config.status: creating src/sqlite/Makefile config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now + sed -i -e 's|"/lib /usr/lib|"/lib64 /usr/lib64|' libtool + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc cd .. && /bin/sh /builddir/build/BUILD/klamav-0.46/admin/missing --run automake-1.9 --gnu doc/Makefile /builddir/build/BUILD/klamav-0.46/admin/missing: line 52: automake-1.9: command not found WARNING: `automake-1.9' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' cd .. && perl admin/am_edit doc/Makefile.in make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' cd .. && /bin/sh ./config.status doc/Makefile config.status: creating doc/Makefile Making all in . make[3]: Nothing to be done for 'all-am'. Making all in en cd ../.. && /bin/sh ./config.status doc/en/Makefile config.status: creating doc/en/Makefile make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc/en' /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc/en' Making all in po cd .. && /bin/sh ./config.status po/Makefile config.status: creating po/Makefile make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f de.gmo; /usr/bin/msgfmt -o de.gmo ./de.po test ! -f de.gmo || touch de.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f hu.gmo; /usr/bin/msgfmt -o hu.gmo ./hu.po test ! -f hu.gmo || touch hu.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f es.gmo; /usr/bin/msgfmt -o es.gmo ./es.po test ! -f es.gmo || touch es.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f tr.gmo; /usr/bin/msgfmt -o tr.gmo ./tr.po test ! -f tr.gmo || touch tr.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f it.gmo; /usr/bin/msgfmt -o it.gmo ./it.po test ! -f it.gmo || touch it.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f fr.gmo; /usr/bin/msgfmt -o fr.gmo ./fr.po test ! -f fr.gmo || touch fr.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f uk.gmo; /usr/bin/msgfmt -o uk.gmo ./uk.po test ! -f uk.gmo || touch uk.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f cs.gmo; /usr/bin/msgfmt -o cs.gmo ./cs.po test ! -f cs.gmo || touch cs.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f zh_CN.gmo; /usr/bin/msgfmt -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f pt_BR.gmo; /usr/bin/msgfmt -o pt_BR.gmo ./pt_BR.po test ! -f pt_BR.gmo || touch pt_BR.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f pl.gmo; /usr/bin/msgfmt -o pl.gmo ./pl.po test ! -f pl.gmo || touch pl.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f ru.gmo; /usr/bin/msgfmt -o ru.gmo ./ru.po test ! -f ru.gmo || touch ru.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' Making all in src cd .. && /bin/sh ./config.status src/Makefile depfiles config.status: creating src/Makefile config.status: executing depfiles commands Making all in icons cd ../.. && /bin/sh ./config.status src/icons/Makefile config.status: creating src/icons/Makefile make[3]: Nothing to be done for 'all'. Making all in about cd ../.. && /bin/sh ./config.status src/about/Makefile config.status: creating src/about/Makefile make[3]: Nothing to be done for 'all'. Making all in action cd ../.. && /bin/sh ./config.status src/action/Makefile config.status: creating src/action/Makefile make[3]: Nothing to be done for 'all'. Making all in arkollon cd ../.. && /bin/sh ./config.status src/arkollon/Makefile depfiles config.status: creating src/arkollon/Makefile config.status: executing depfiles commands make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc ./wizard.h -o wizard.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc ./uninstallwizard.h -o uninstallwizard.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -rf logdialog.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./logdialog.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> logdialog.h ; -i used with no filenames on the command line, reading from STDIN. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc logdialog.h -o logdialog.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -rf wizardbase.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./wizardbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> wizardbase.h ; -i used with no filenames on the command line, reading from STDIN. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -f logdialog.cpp echo '#include ' > logdialog.cpp echo '#include ' >> logdialog.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i logdialog.h ./logdialog.ui > logdialog.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" logdialog.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_logdialog,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> logdialog.cpp ;\ rm -f logdialog.cpp.temp ;\ if test "$ret" = 0; then echo '#include "logdialog.moc"' >> logdialog.cpp; else rm -f logdialog.cpp ; exit $ret ; fi make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamarkollon.o klamarkollon.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from klamarkollon.cpp:25: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from klamarkollon.cpp:30: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o rcparser.o rcparser.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qiodevice.h:46, from /usr/lib64/qt-3.3/include/qtextstream.h:45, from /usr/lib64/qt-3.3/include/qtl.h:46, from /usr/lib64/qt-3.3/include/qvaluelist.h:45, from /usr/lib64/qt-3.3/include/qstringlist.h:45, from rcparser.h:23, from rcparser.cpp:20: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qtextstream.h:46: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o headerlistitem.o headerlistitem.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qframe.h:45, from /usr/lib64/qt-3.3/include/qscrollview.h:44, from /usr/lib64/qt-3.3/include/qlistview.h:45, from headerlistitem.h:23, from headerlistitem.cpp:20: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ headerlistitem.cpp: In member function 'virtual int HeaderListItem::compare(QListViewItem*, int, bool) const': headerlistitem.cpp:34:51: warning: unused parameter 'col' [-Wunused-parameter] 34 | int HeaderListItem::compare(QListViewItem* i, int col, bool ascending) const | ~~~~^~~ headerlistitem.cpp:34:61: warning: unused parameter 'ascending' [-Wunused-parameter] 34 | int HeaderListItem::compare(QListViewItem* i, int col, bool ascending) const | ~~~~~^~~~~~~~~ headerlistitem.cpp: In member function 'virtual void HeaderListItem::paintCell(QPainter*, const QColorGroup&, int, int, int)': headerlistitem.cpp:85:22: warning: unused variable 'x' [-Wunused-variable] 85 | register int x, y; | ^ headerlistitem.cpp:85:25: warning: unused variable 'y' [-Wunused-variable] 85 | register int x, y; | ^ headerlistitem.cpp:67:72: warning: unused parameter 'column' [-Wunused-parameter] 67 | void HeaderListItem::paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align) | ~~~~^~~~~~ headerlistitem.cpp:67:95: warning: unused parameter 'align' [-Wunused-parameter] 67 | void HeaderListItem::paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align) | ~~~~^~~~~ headerlistitem.cpp: In member function 'virtual void HeaderListItem::paintFocus(QPainter*, const QColorGroup&, const QRect&)': headerlistitem.cpp:109:43: warning: unused parameter 'p' [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~^ headerlistitem.cpp:109:65: warning: unused parameter 'cg' [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~~~~~~~~~~^~ headerlistitem.cpp:109:82: warning: unused parameter 'r' [-Wunused-parameter] 109 | void HeaderListItem::paintFocus(QPainter* p, const QColorGroup& cg, const QRect& r) | ~~~~~~~~~~~~~^ headerlistitem.cpp: In member function 'virtual int HeaderListItem::width(const QFontMetrics&, const QListView*, int) const': headerlistitem.cpp:113:47: warning: unused parameter 'fm' [-Wunused-parameter] 113 | int HeaderListItem::width(const QFontMetrics& fm, const QListView* lv, int c) const | ~~~~~~~~~~~~~~~~~~~~^~ headerlistitem.cpp:113:76: warning: unused parameter 'c' [-Wunused-parameter] 113 | int HeaderListItem::width(const QFontMetrics& fm, const QListView* lv, int c) const | ~~~~^ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /usr/lib64/qt-3.3/bin/moc wizardbase.h -o wizardbase.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -f wizardbase.cpp echo '#include ' > wizardbase.cpp echo '#include ' >> wizardbase.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i wizardbase.h ./wizardbase.ui > wizardbase.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" wizardbase.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_wizardbase,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> wizardbase.cpp ;\ rm -f wizardbase.cpp.temp ;\ if test "$ret" = 0; then echo '#include "wizardbase.moc"' >> wizardbase.cpp; else rm -f wizardbase.cpp ; exit $ret ; fi make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o uninstallwizard.o uninstallwizard.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qvariant.h:45, from wizardbase.h:12, from uninstallwizard.h:24, from uninstallwizard.cpp:22: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdialog.h:45, from wizardbase.h:13: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from uninstallwizard.cpp:31: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from uninstallwizard.cpp:24: data.h: At global scope: data.h:3073:26: warning: 'const QByteArray& qembed_findData(const char*)' defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o logdialog.o logdialog.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from logdialog.cpp:1: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizardbase.o wizardbase.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from wizardbase.cpp:1: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from wizardbase.cpp:24: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from wizardbase.cpp:28: ./wizardbase.ui.h: In member function 'virtual void WizardBase::componentSelected(QListViewItem*)': ./wizardbase.ui.h:55:53: warning: unused parameter 'item' [-Wunused-parameter] 55 | void WizardBase::componentSelected( QListViewItem * item ) | ~~~~~~~~~~~~~~~~^~~~ In file included from ./wizardbase.ui.h:1: ./data.h: At global scope: ./data.h:3073:26: warning: 'const QByteArray& qembed_findData(const char*)' defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizard.o wizard.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qvariant.h:45, from ./wizardbase.h:12, from wizard.h:23, from wizard.cpp:20: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdialog.h:45, from ./wizardbase.h:13: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ wizard.cpp: In member function 'void Wizard::nextStep()': wizard.cpp:737:38: warning: comparison of integer expressions of different signedness: 'int' and 'QValueList::size_type' {aka 'long unsigned int'} [-Wsign-compare] 737 | if (currentComponent >= selectedComponents.count()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wizard.cpp:40: data.h: At global scope: data.h:3109:22: warning: 'const QImage& qembed_findImage(const QString&)' defined but not used [-Wunused-function] 3109 | static const QImage& qembed_findImage( const QString& name ) | ^~~~~~~~~~~~~~~~ data.h:3073:26: warning: 'const QByteArray& qembed_findData(const char*)' defined but not used [-Wunused-function] 3073 | static const QByteArray& qembed_findData( const char* name ) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' /bin/sh ../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o klamarkollon -L/usr/lib64/qt-3.3/lib -L/usr/lib64 klamarkollon.o wizard.o rcparser.o uninstallwizard.o headerlistitem.o logdialog.o wizardbase.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkio make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' Making all in klammail cd ../.. && /bin/sh ./config.status src/klammail/Makefile depfiles config.status: creating src/klammail/Makefile config.status: executing depfiles commands make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c memory.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c output.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' output.c: In function 'logg': output.c:98:29: warning: unused variable 'vbuff' [-Wunused-variable] 98 | char *pt, *timestr, vbuff[1025]; | ^~~~~ output.c: In function 'mdprintf': output.c:70:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | write(desc, buff, bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~ output.c: In function 'logg': output.c:140:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 140 | strncpy(timestr, pt, strlen(pt) - 1); | ^ output.c:140:34: note: length computed here 140 | strncpy(timestr, pt, strlen(pt) - 1); | ^~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c cfgparser.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' cfgparser.c: In function 'parsecfg': cfgparser.c:179:37: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 179 | strncpy(cpy, arg, strlen(arg) - 1); | ^ cfgparser.c:179:55: note: length computed here 179 | strncpy(cpy, arg, strlen(arg) - 1); | ^~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c options.c make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' options.c: In function 'main': options.c:143:13: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ options.c:143:13: note: length computed here 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c client.c client.c: In function 'client': client.c:62:15: warning: unused variable 'fname' [-Wunused-variable] 62 | char *fname; | ^~~~~ client.c:61:21: warning: unused variable 'statbuf' [-Wunused-variable] 61 | struct stat statbuf; | ^~~~~~~ client.c:60:24: warning: unused variable 'dent' [-Wunused-variable] 60 | struct dirent *dent; | ^~~~ client.c:59:14: warning: unused variable 'dd' [-Wunused-variable] 59 | DIR *dd; | ^~ client.c:58:15: warning: unused variable 'fd' [-Wunused-variable] 58 | FILE *fd; | ^~ client.c:57:21: warning: unused variable 'clamav_conf' [-Wunused-variable] 57 | const char *clamav_conf; | ^~~~~~~~~~~ client.c:55:20: warning: unused variable 'bread' [-Wunused-variable] 55 | int sockd, bread; | ^~~~~ client.c:54:34: warning: unused variable 'cpt' [-Wunused-variable] 54 | struct cfgstruct *copt, *cpt; | ^~~ client.c:54:27: warning: unused variable 'copt' [-Wunused-variable] 54 | struct cfgstruct *copt, *cpt; | ^~~~ client.c:53:28: warning: unused variable 'server2' [-Wunused-variable] 53 | struct sockaddr_in server2; | ^~~~~~~ client.c:51:44: warning: unused variable 'scancmd' [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~~~~ client.c:51:37: warning: unused variable 'file' [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c:51:26: warning: unused variable 'cwd' [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~ client.c:51:14: warning: unused variable 'buff' [-Wunused-variable] 51 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c: In function 'passfile': client.c:135:25: warning: unused variable 'cwd' [-Wunused-variable] 135 | char *fullpath, cwd[200]; | ^~~ client.c:135:15: warning: unused variable 'fullpath' [-Wunused-variable] 135 | char *fullpath, cwd[200]; | ^~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c clamdmail.c clamdmail.c: In function 'clamdscan': clamdmail.c:184:28: warning: passing argument 3 of 'client' from incompatible pointer type [-Wincompatible-pointer-types] 184 | ret = client(tmpnm, opt, &virname); | ^~~~~~~~ | | | const char ** In file included from clamdmail.c:38: options.h:46:63: note: expected 'char **' but argument is of type 'const char **' 46 | int client(const char *dirname, struct optstruct *opt, char **virname); | ~~~~~~~^~~~~~~ clamdmail.c:202:56: warning: pointer targets in passing argument 3 of 'cl_load' differ in signedness [-Wpointer-sign] 202 | if((ret = cl_load(getargc(opt, 'd'), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * In file included from clamdmail.c:36: /usr/include/clamav.h:898:78: note: expected 'unsigned int *' but argument is of type 'int *' 898 | extern int cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:212:52: warning: pointer targets in passing argument 3 of 'cl_load' differ in signedness [-Wpointer-sign] 212 | if((ret = cl_load(cl_retdbdir(), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * /usr/include/clamav.h:898:78: note: expected 'unsigned int *' but argument is of type 'int *' 898 | extern int cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:262:35: warning: format '%i' expects argument of type 'int', but argument 2 has type 'const char *' [-Wformat=] 262 | printf("scandesc returned: %i\n", cl_strerror(ret));; | ~^ ~~~~~~~~~~~~~~~~ | | | | int const char * | %s clamdmail.c:273:30: warning: passing argument 4 of 'spoolstdin' from incompatible pointer type [-Wincompatible-pointer-types] 273 | spoolstdin(tmpnm, fd, ret, &virname, &bndrystore, opt); | ^~~~~~~~ | | | const char ** clamdmail.c:73:60: note: expected 'char **' but argument is of type 'const char **' 73 | static int spoolstdin(char *tmpnm, int fd, int ret, char **virname, const char **bndrystore, struct optstruct *opt); | ~~~~~~~^~~~~~~ clamdmail.c:110:15: warning: unused variable 'sb' [-Wunused-variable] 110 | struct stat sb; | ^~ clamdmail.c:100:15: warning: unused variable 'mb' [-Wunused-variable] 100 | long double mb; | ^~ clamdmail.c:98:11: warning: unused variable 'fdtmp' [-Wunused-variable] 98 | int fd, fdtmp, ret, no = 0; | ^~~~~ clamdmail.c:97:7: warning: unused variable 'threads' [-Wunused-variable] 97 | int threads = 0; | ^~~~~~~ clamdmail.c:96:19: warning: unused variable 'trie' [-Wunused-variable] 96 | struct cl_node *trie = NULL; | ^~~~ clamdmail.c:93:9: warning: unused variable 'fs' [-Wunused-variable] 93 | FILE *fs; | ^~ clamdmail.c:92:9: warning: unused variable 'tmp' [-Wunused-variable] 92 | FILE *tmp; | ^~~ clamdmail.c:91:18: warning: unused variable 'user' [-Wunused-variable] 91 | struct passwd *user = NULL; | ^~~~ clamdmail.c:90:9: warning: unused variable 'dir' [-Wunused-variable] 90 | char *dir; | ^~~ clamdmail.c:89:9: warning: unused variable 'tmper' [-Wunused-variable] 89 | char *tmper; | ^~~~~ clamdmail.c:88:9: warning: unused variable 'pfx' [-Wunused-variable] 88 | char *pfx; | ^~~ clamdmail.c:87:9: warning: unused variable 'tmpfil' [-Wunused-variable] 87 | char *tmpfil; | ^~~~~~ clamdmail.c:86:15: warning: unused variable 'tmpdir' [-Wunused-variable] 86 | const char *tmpdir; | ^~~~~~ clamdmail.c:83:22: warning: unused variable 't2' [-Wunused-variable] 83 | struct timeval t1, t2; | ^~ clamdmail.c:81:11: warning: unused variable 'dms' [-Wunused-variable] 81 | int ds, dms; | ^~~ clamdmail.c:81:7: warning: unused variable 'ds' [-Wunused-variable] 81 | int ds, dms; | ^~ clamdmail.c: In function 'spoolstdin': clamdmail.c:434:15: warning: unused variable 'bcnt' [-Wunused-variable] 434 | int bcnt = 0; | ^~~~ clamdmail.c:478:11: warning: unused variable 'bcnt' [-Wunused-variable] 478 | int bcnt = 0; | ^~~~ clamdmail.c:308:10: warning: unused variable 'starttime' [-Wunused-variable] 308 | time_t starttime; | ^~~~~~~~~ clamdmail.c:305:9: warning: unused variable 'storage' [-Wunused-variable] 305 | char *storage; | ^~~~~~~ clamdmail.c:304:9: warning: unused variable 's' [-Wunused-variable] 304 | char *s; | ^ clamdmail.c:300:8: warning: unused variable 'boundary' [-Wunused-variable] 300 | char boundary[1000]; | ^~~~~~~~ clamdmail.c:291:12: warning: unused variable 'size' [-Wunused-variable] 291 | long int size = 0; | ^~~~ clamdmail.c:290:10: warning: unused variable 'j' [-Wunused-variable] 290 | int i, j; | ^ clamdmail.c:290:7: warning: unused variable 'i' [-Wunused-variable] 290 | int i, j; | ^ clamdmail.c: In function 'startclamd': clamdmail.c:563:11: warning: unused variable 'scancmd' [-Wunused-variable] 563 | char *scancmd; | ^~~~~~~ clamdmail.c:558:10: warning: unused variable 'conffile' [-Wunused-variable] 558 | char conffile[31]; | ^~~~~~~~ clamdmail.c: In function 'clamdscan': clamdmail.c:153:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ clamdmail.c: In function 'startclamd': clamdmail.c:566:5: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 566 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ In function 'spoolstdin', inlined from 'clamdscan' at clamdmail.c:273:3: clamdmail.c:457:18: warning: 'bndrystore' may be used uninitialized [-Wmaybe-uninitialized] 457 | if (!(*bndrystore)) | ^ clamdmail.c: In function 'clamdscan': clamdmail.c:85:15: note: 'bndrystore' was declared here 85 | const char *bndrystore; | ^~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' /bin/sh ../../libtool --silent --tag=CC --mode=link gcc -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o klammail clamdmail.o options.o output.o memory.o cfgparser.o client.o -lclamav options.c: In function 'main': options.c:143:13: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ options.c:143:13: note: length computed here 143 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' Making all in . make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf specialfiletypes.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./specialfiletypes.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> specialfiletypes.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf archivelimits.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./archivelimits.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> archivelimits.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf archivetypes.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./archivetypes.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> archivetypes.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf firstrunwizard.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./firstrunwizard.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> firstrunwizard.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./klamav.h -o klamav.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./freshklam.h -o freshklam.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./sigtool.h -o sigtool.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./klamscan.h -o klamscan.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf autoscanoptions.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./autoscanoptions.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> autoscanoptions.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' rm -rf logoptions.h; /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload ./logoptions.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> logoptions.h ; make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' -i used with no filenames on the command line, reading from STDIN. -i used with no filenames on the command line, reading from STDIN. make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./klamd.h -o klamd.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./aboutklamav.h -o aboutklamav.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./kuarantine.h -o kuarantine.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./dbviewer.h -o dbviewer.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./tabwidget.h -o tabwidget.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./frame.h -o frame.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./viewer.h -o viewer.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./pageviewer.h -o pageviewer.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/bin/kconfig_compiler ./klamavconfig.kcfg ./klamavconfig.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f klamavconfig.h ; exit $ret ; fi make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./klamav_run.h -o klamav_run.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./directorylist.h -o directorylist.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./scanviewer.h -o scanviewer.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./schedule.h -o schedule.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./datepicker.h -o datepicker.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o cthost.o cthost.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/vector:60, from cthost.h:18, from cthost.cpp:16: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from cthost.h:21: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctmonth.o ctmonth.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from ctunit.h:18, from ctmonth.h:18, from ctmonth.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klocale.h:25, from cti18n.h:24, from ctunit.cpp:15, from ctunit.h:157: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctmonth.h:51:18: note: by 'virtual std::string CTMonth::describe() const' 51 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctmonth.cpp:23:22: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctmonth.cpp:23:22: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctdom.o ctdom.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from ctunit.h:18, from ctdom.h:18, from ctdom.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klocale.h:25, from cti18n.h:24, from ctunit.cpp:15, from ctunit.h:157: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctdom.h:50:18: note: by 'virtual std::string CTDayOfMonth::describe() const' 50 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctdom.cpp:24:22: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctdom.cpp:24:22: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctcron.o ctcron.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/vector:60, from ctcron.h:18, from ctcron.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ctcron.h:22: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25, from ctunit.cpp:15, from ctunit.h:157, from ctmonth.h:18, from cttask.h:20, from ctcron.cpp:17: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctmonth.h:51:18: note: by 'virtual std::string CTMonth::describe() const' 51 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:21: ctdom.h:50:18: note: by 'virtual std::string CTDayOfMonth::describe() const' 50 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:22: ctdow.h:56:18: note: by 'virtual std::string CTDayOfWeek::describe() const' 56 | virtual string describe() const; | ^~~~~~~~ ctcron.cpp: In constructor 'CTCron::CTCron(bool, std::string)': ctcron.cpp:90:36: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 90 | initialTaskCount = task.size(); | ~~~~~~~~~^~ ctcron.cpp:91:40: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 91 | initialVariableCount = variable.size(); | ~~~~~~~~~~~~~^~ ctcron.cpp: In constructor 'CTCron::CTCron(const passwd*)': ctcron.cpp:123:36: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 123 | initialTaskCount = task.size(); | ~~~~~~~~~^~ ctcron.cpp:124:40: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 124 | initialVariableCount = variable.size(); | ~~~~~~~~~~~~~^~ ctcron.cpp: In function 'std::istream& operator>>(std::istream&, CTCron&)': ctcron.cpp:176:42: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 176 | int first_text = line.find_first_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcron.cpp:195:45: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 195 | int firstWhiteSpace(line.find_first_of(" \t")); | ~~~~~~~~~~~~~~~~~~^~~~~~~ ctcron.cpp:196:32: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 196 | int firstEquals(line.find("=")); | ~~~~~~~~~^~~~~ ctcron.cpp: In member function 'void CTCron::apply()': ctcron.cpp:289:31: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 289 | initialTaskCount = task.size(); | ~~~~~~~~~^~ ctcron.cpp:290:39: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 290 | initialVariableCount = variable.size(); | ~~~~~~~~~~~~~^~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::inimake[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' tialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctdow.o ctdow.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from ctunit.h:18, from ctdow.h:18, from ctdow.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klocale.h:25, from cti18n.h:24, from ctunit.cpp:15, from ctunit.h:157: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctdow.h:56:18: note: by 'virtual std::string CTDayOfWeek::describe() const' 56 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' ctdow.cpp:41:26: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' ctdow.cpp:41:26: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctvariable.o ctvariable.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from ctvariable.h:18, from ctvariable.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ctvariable.cpp: In constructor 'CTVariable::CTVariable(std::string, std::string)': ctvariable.cpp:31:41: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 31 | spacepos = tokStr.find_first_of(" ="); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktlistitem.o ktlistitem.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qframe.h:45, from /usr/lib64/qt-3.3/include/qscrollview.h:44, from /usr/lib64/qt-3.3/include/qlistview.h:45, from ktlistitem.h:19, from ktlistitem.cpp:12: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./ktview.h -o ktview.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktlisttask.o ktlisttask.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from cttask.h:18, from ktlisttask.cpp:13: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klocale.h:25, from cti18n.h:24, from ctunit.cpp:15, from ctunit.h:157, from ctmonth.h:18, from cttask.h:20: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctmonth.h:51:18: note: by 'virtual std::string CTMonth::describe() const' 51 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:21: ctdom.h:50:18: note: by 'virtual std::string CTDayOfMonth::describe() const' 50 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:22: ctdow.h:56:18: note: by 'virtual std::string CTDayOfWeek::describe() const' 56 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktlisttasks.o ktlisttasks.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qframe.h:45, from /usr/lib64/qt-3.3/include/qscrollview.h:44, from /usr/lib64/qt-3.3/include/qlistview.h:45, from ktlistitem.h:19, from ktlisttasks.h:19, from ktlisttasks.cpp:12: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./activityviewer.h -o activityviewer.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./collectiondb.h -o collectiondb.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./configdialog.h -o configdialog.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./k3bjobprogressosd_mod.h -o k3bjobprogressosd_mod.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc ./update.h -o update.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/bin/dcopidl ./dcopklamscan.h > dcopklamscan.kidl || ( rm -f dcopklamscan.kidl ; false ) make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc archivelimits.h -o archivelimits.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc archivetypes.h -o archivetypes.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc specialfiletypes.h -o specialfiletypes.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc firstrunwizard.h -o firstrunwizard.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc autoscanoptions.h -o autoscanoptions.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' /usr/lib64/qt-3.3/bin/moc logoptions.h -o logoptions.moc make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktlistcron.o ktlistcron.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qframe.h:45, from /usr/lib64/qt-3.3/include/qscrollview.h:44, from /usr/lib64/qt-3.3/include/qlistview.h:45, from ktlistitem.h:19, from ktlistcron.h:19, from ktlistcron.cpp:12: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o kticon.o kticon.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qpaintdevice.h:45, from /usr/lib64/qt-3.3/include/qpixmap.h:45, from kticon.h:15, from kticon.cpp:12: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qiconset.h:45, from /usr/include/kde/kiconloader.h:17, from kticon.cpp:15: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o main.o main.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from klamav.h:12, from main.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamavconfig.o klamavconfig.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qcolor.h:45, from /usr/include/kde/kconfigskeleton.h:26, from klamavconfig.h:6, from klamavconfig.cpp:4: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/include/kde/kconfigbase.h:26, from /usr/include/kde/kconfig.h:29, from /usr/include/kde/kconfigskeleton.h:36: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o cttask.o cttask.cpp In file included from /usr/include/c++/13/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/13/riscv64-redhat-linux/bits/c++config.h:672, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/string:38, from cttask.h:18, from cttask.cpp:15: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klocale.h:25, from cti18n.h:24, from ctunit.cpp:15, from ctunit.h:157, from ctmonth.h:18, from cttask.h:20: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from cti18n.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ ctunit.cpp: At global scope: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctmonth.h:51:18: note: by 'virtual std::string CTMonth::describe() const' 51 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:21: ctdom.h:50:18: note: by 'virtual std::string CTDayOfMonth::describe() const' 50 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:22: ctdow.h:56:18: note: by 'virtual std::string CTDayOfWeek::describe() const' 56 | virtual string describe() const; | ^~~~~~~~ cttask.cpp: In constructor 'CTTask::CTTask(std::string, std::string, bool)': cttask.cpp:77:36: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 77 | int spacepos(tokStr.find_first_of(" \t")); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp:82:36: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 82 | spacepos = tokStr.find_first_of(" \t"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp:87:36: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 87 | spacepos = tokStr.find_first_of(" \t"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp:92:36: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | spacepos = tokStr.find_first_of(" \t"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp:97:36: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 97 | spacepos = tokStr.find_first_of(" \t"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp:104:38: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | spacepos = tokStr.find_first_of(" \t"); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ cttask.cpp: In member function 'std::string CTTask::describe() const': cttask.cpp:332:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 332 | if ((pos = DOMFormat.find("DAYS_OF_MONTH")) > -1) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ cttask.cpp:335:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 335 | if ((pos = DOMFormat.find("MONTHS")) > -1) | ~~~~~~~~~~~~~~^~~~~~~~~~ cttask.cpp:338:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 338 | if ((pos = DOWFormat.find("DAYS_OF_WEEK")) > -1) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ cttask.cpp:341:29: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 341 | if ((pos = dateFormat.find("DOM_FORMAT")) > -1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ cttask.cpp:344:29: warning: conversion from 'std::__cxx11::basic_string::size_type' {make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' aka 'long unsigned int'} to 'int' may change value [-Wconversion] 344 | if ((pos = dateFormat.find("DOW_FORMAT")) > -1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ cttask.cpp:347:29: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 347 | if ((pos = timeFormat.find("TIME")) > -1) | ~~~~~~~~~~~~~~~^~~~~~~~ cttask.cpp:350:25: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 350 | if ((pos = format.find("DATE_FORMAT")) > -1) | ~~~~~~~~~~~^~~~~~~~~~~~~~~ cttask.cpp:353:25: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 353 | if ((pos = format.find("TIME_FORMAT")) > -1) | ~~~~~~~~~~~^~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' cttask.cpp:78:20: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cttask.cpp:83:18: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' cttask.cpp:88:24: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' cttask.cpp:93:19: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' cttask.cpp:78:20: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cttask.cpp:83:18: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' cttask.cpp:88:24: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' cttask.cpp:93:19: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamav.o klamav.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from klamav.h:12, from klamav.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfileitem.h:30, from /usr/include/kde/kdirlister.h:24, from freshklam.h:14, from klamav.cpp:6: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ In file included from /usr/include/kde/kfileitem.h:31: /usr/include/kde/kfilemetainfo.h: At global scope: /usr/include/kde/kfilemetainfo.h:1237:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1237 | KFilePlugin * const plugin() const; | ^~~~~~~~~~~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from freshklam.h:17: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from klamav.cpp:16: collectiondb.h: At global scope: collectiondb.h:49:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 49 | const bool isInitialized() const { return m_initialized; } | ^~~~~ collectiondb.h:87:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 87 | const DbConnection::DbConnectionType getDbConnectionType() const { return m_dbConnType; } | ^~~~~ In file included from /usr/include/kde/kpopupmenu.h:24, from klamav.cpp:27: /usr/include/kde/kpixmapeffect.h:186:63: warning: conversion from 'double' to 'float' changes value from '2.9999999999999999e-1' to '3.00000012e-1f' [-Wfloat-conversion] 186 | static KPixmap& desaturate(KPixmap& pixmap, float desat = 0.3); | ^~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o sigtool.o sigtool.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from sigtool.h:12, from sigtool.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfiledialog.h:30, from sigtool.cpp:10: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfiledialog.h:33: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o freshklam.o freshklam.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from freshklam.h:12, from freshklam.cpp:6: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfileitem.h:30, from /usr/include/kde/kdirlister.h:24, from freshklam.h:14: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ In file included from /usr/include/kde/kfileitem.h:31: /usr/include/kde/kfilemetainfo.h: At global scope: /usr/include/kde/kfilemetainfo.h:1237:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1237 | KFilePlugin * const plugin() const; | ^~~~~~~~~~~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from freshklam.h:17: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from freshklam.cpp:9: collectiondb.h: At global scope: collectiondb.h:49:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 49 | const bool isInitialized() const { return m_initialized; } | ^~~~~ collectiondb.h:87:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 87 | const DbConnection::DbConnectionType getDbConnectionType() const { return m_dbConnType; } | ^~~~~ In file included from /usr/include/kde/kprocio.h:22, from freshklam.cpp:33: /usr/include/kde/kprocess.h:285:16: warning: 'virtual bool KProcess::start(RunMode, Communication)' was hidden [-Woverloaded-virtual=] 285 | virtual bool start(RunMode runmode = NotifyOnExit, | ^~~~~ /usr/include/kde/kprocio.h:88:8: note: by 'bool KProcIO::start(KProcess::RunMode, bool)' 88 | bool start (RunMode runmode = NotifyOnExit, bool includeStderr = false); | ^~~~~ freshklam.cpp: In member function 'void Freshklam::processOutput()': freshklam.cpp:334:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 334 | if ( (pos2 = buf.find('[')) != -1) | ^~ freshklam.cpp:336:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 336 | status_label->setText(suffix + item); | ^~~~~~~~~~~~ freshklam.cpp:350:49: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 350 | KNotifyClient::event(kmain->_tray->winId(),"UpdatedDatabase", "Virus Database Updated."); | ~~~~~~~~~~~~~~~~~~~^~ freshklam.cpp:356:49: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 356 | KNotifyClient::event(kmain->_tray->winId(),"DatabaseUpToDate", "Virus Database Up To Date."); | ~~~~~~~~~~~~~~~~~~~^~ freshklam.cpp:378:53: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 378 | KNotifyClient::event(kmain->_tray->winId(),"ClamAVOutDated", QString("Your copy of ClamAV is out of date! Please Upgrade to ClamAV %1!").arg(version)); | ~~~~~~~~~~~~~~~~~~~^~ freshklam.cpp: In member function 'QString Freshklam::getCurrentDBDir()': freshklam.cpp:827:18: warning: variable 'ret' set but not used [-Wunused-bumake[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' t-set-variable] 827 | unsigned int ret= 0; | ^~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamscan.o klamscan.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from klamscan.h:12, from klamscan.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from klamd.h:15, from klamscan.cpp:7: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfileitem.h:30, from /usr/include/kde/kfiletreeviewitem.h:26, from /usr/include/kde/kfiletreeview.h:33, from klamd.h:16: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ In file included from /usr/include/kde/kfileitem.h:31: /usr/include/kde/kfilemetainfo.h: At global scope: /usr/include/kde/kfilemetainfo.h:1237:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1237 | KFilePlugin * const plugin() const; | ^~~~~~~~~~~ In file included from ctunit.h:157, from ctmonth.h:18, from cttask.h:20, from schedule.h:21, from klamscan.cpp:9: ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 12; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ ctmonth.h:51:18: note: by 'virtual std::string CTMonth::describe() const' 51 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 31; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:21: ctdom.h:50:18: note: by 'virtual std::string CTDayOfMonth::describe() const' 50 | virtual string describe() const; | ^~~~~~~~ ctunit.cpp:172:8: warning: 'std::string CTUnit::describe(const std::string*) const [with int min = 1; int max = 7; std::string = std::__cxx11::basic_string]' was hidden [-Woverloaded-virtual=] 172 | string CTUnit::describe(const string *label) const | ^~~~~~~~~~~~~~~~ In file included from cttask.h:22: ctdow.h:56:18: note: by 'virtual std::string CTDayOfWeek::describe() const' 56 | virtual string describe() const; | ^~~~~~~~ In file included from klamscan.cpp:13: collectiondb.h:49:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 49 | const bool isInitialized() const { return m_initialized; } | ^~~~~ collectiondb.h:87:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 87 | const DbConnection::DbConnectionType getDbConnectionType() const { return m_dbConnType; } | ^~~~~ In file included from /usr/include/kde/dcopref.h:27, from klamscan.cpp:32: /usr/include/kde/dcoptypes.h: In function 'void dcopTypeInit(const char*)': /usr/include/kde/dcoptypes.h:86:38: warning: parameter 's' set but not used [-Wunused-but-set-parameter] 86 | inline void dcopTypeInit(const char* s ){s=0;} | ~~~~~~~~~~~~^ klamscan.cpp: In constructor 'Klamscan::Klamscan(QWidget*, const char*)': klamscan.cpp:38:57: warning: base 'QWidget' will be initialized after [-Wreorder] 38 | : QWidget(parent, name), DCOPObject( "DCOPKlamscan" ) | ^ klamscan.cpp:38:57: warning: base 'DCOPObject' [-Wreorder] klamscan.cpp:37:1: warning: when initialized here [-Wreorder] 37 | Klamscan::Klamscan(QWidget *parent, const char *name) | ^~~~~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:83:33: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 83 | while ((commapos = tokStr.find(",")) > 0) | ~~~~~~~~~~~^~~~~ ctunit.cpp:88:31: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 88 | slashpos = subelement.find("/"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp:92:35: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | slashpos = subelement.length(); | ~~~~~~~~~~~~~~~~~^~ ctunit.cpp:103:30: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 103 | dashpos = subelement.find("-"); | ~~~~~~~~~~~~~~~^~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 23; std::string = std::__cxx11::basic_string]' cthour.h:31:58: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctunit.cpp: In instantiation of 'int CTUnit::fieldToValue(std::string) const [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]': ctunit.cpp:96:14: required from 'void CTUnit::parse(std::string) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:62:3: required from 'void CTUnit::initialize(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctunit.cpp:27:3: required from 'CTUnit::CTUnit(const std::string&) [with int min = 0; int max = 59; std::string = std::__cxx11::basic_string]' ctminute.h:31:60: required from here ctunit.cpp:280:28: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 280 | int length = entry.length(); | ~~~~~~~~~~~~^~ ctunit.cpp:282:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 282 | lower += tolower(*(entry.substr(i, 1).c_str())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o aboutklamav.o aboutklamav.cpp make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from aboutklamav.h:12, from aboutklamav.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from viewer.h:11, from pageviewer.h:17, from aboutklamav.cpp:6: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamd.o klamd.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from klamd.h:12, from klamd.cpp:5: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from klamd.h:15: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfileitem.h:30, from /usr/include/kde/kfiletreeviewitem.h:26, from /usr/include/kde/kfiletreeview.h:33, from klamd.h:16: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ In file included from /usr/include/kde/kfileitem.h:31: /usr/include/kde/kfilemetainfo.h: At global scope: /usr/include/kde/kfilemetainfo.h:1237:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1237 | KFilePlugin * const plugin() const; | ^~~~~~~~~~~ In file included from klamd.cpp:9: collectiondb.h:49:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 49 | const bool isInitialized() const { return m_initialized; } | ^~~~~ collectiondb.h:87:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 87 | const DbConnection::DbConnectionType getDbConnectionType() const { return m_dbConnType; } | ^~~~~ In file included from /usr/include/kde/kprocio.h:22, from klamd.cpp:23: /usr/include/kde/kprocess.h:285:16: warning: 'virtual bool KProcess::start(RunMode, Communication)' was hidden [-Woverloaded-virtual=] 285 | virtual bool start(RunMode runmode = NotifyOnExit, | ^~~~~ /usr/include/kde/kprocio.h:88:8: note: by 'bool KProcIO::start(KProcess::RunMode, bool)' 88 | bool start (RunMode runmode = NotifyOnExit, bool includeStderr = false); | ^~~~~ klamd.cpp: In member function 'void Klamd::processOutput()': klamd.cpp:293:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 293 | if(!childproc) | ^~ klamd.cpp:296:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 296 | item2 = ""; | ^~~~~ klamd.cpp:309:57: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 309 | KNotifyClient::event(kmain->_tray->winId(),i18n( "ScanCompleteNoVirus" ), i18n( "Virus %1 Found In %2 by Auto-Scan!" ).arg(tmpVirusName).arg(tmpFName)); | ~~~~~~~~~~~~~~~~~~~^~ klamd.cpp:316:53: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 316 | KNotifyClient::event(kmain->_tray->winId(),i18n( "Can't Start On-Access Scanning!" ), i18n( "Check you have read permissions on file /dev/dazuko." )); | ~~~~~~~~~~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o dbviewer.o dbviewer.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qvariant.h:45, from dbviewer.h:13, from dbviewer.cpp:9: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46, from /usr/lib64/qt-3.3/include/qdialog.h:45, from dbviewer.h:14: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from viewer.h:11, from pageviewer.h:17, from dbviewer.cpp:12: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfileitem.h:30, from /usr/include/kde/kdirlister.h:24, from freshklam.h:14, from dbviewer.cpp:14: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ In file included from /usr/include/kde/kfileitem.h:31: /usr/include/kde/kfilemetainfo.h: At global scope: /usr/include/kde/kfilemetainfo.h:1237:5: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 1237 | KFilePlugin * const plugin() const; | ^~~~~~~~~~~ dbviewer.cpp: In member function 'int KlamDB::listdb(const char*)': dbviewer.cpp:228:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 228 | while((bytes = fread(buffer, 1, FILEBUFF, fd)) > 0) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dbviewer.cpp: In function 'int cli_untgz(int, const char*)': dbviewer.cpp:519:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 519 | nwritten = fwrite(block, 1, nbytes, outfile); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dbviewer.cpp: In function 'int cli_strbcasestr(const char*, const char*)': dbviewer.cpp:614:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 614 | i = strlen(haystack); | ~~~~~~^~~~~~~~~~ dbviewer.cpp:615:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 615 | j = strlen(needle); | ~~~~~~^~~~~~~~ dbviewer.cpp: In function 'int cli_chomp(char*)': dbviewer.cpp:637:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 637 | l = strlen(string); | ~~~~~~^~~~~~~~ dbviewer.cpp: In member function 'unsigned int KlamDB::getSigNos()': dbviewer.cpp:809:18: error: invalid conversion from 'int' to 'cl_error_t' [-fpermissive] 809 | ret = cl_load((const char *)dbdir, engine, &no, CL_DB_STDOPT); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int dbviewer.cpp: In member function 'int KlamDB::listdb(const char*)': dbviewer.cpp:190:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 190 | fgets(buffer, 12, fd); | ~~~~~^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:586: dbviewer.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o frame.o frame.cpp In file included from /usr/include/sys/types.h:25, from /usr/include/kde/kparts/browserextension.h:24, from frame.cpp:8: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qpoint.h:45, from /usr/include/kde/kparts/browserextension.h:26: /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qguardedptr.h:45, from /usr/include/kde/kparts/part.h:25, from /usr/include/kde/kparts/browserextension.h:32: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from frame.moc:13, from frame.cpp:175: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o kuarantine.o kuarantine.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/lib64/qt-3.3/include/qwindowdefs.h:47, from /usr/lib64/qt-3.3/include/qwidget.h:45, from /usr/lib64/qt-3.3/include/qdesktopwidget.h:43, from /usr/lib64/qt-3.3/include/qapplication.h:45, from /usr/include/kde/kapplication.h:38, from kuarantine.h:12, from kuarantine.cpp:7: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qwidget.h:46: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kkeydialog.h:25, from kuarantine.cpp:16: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservicetype.h:24, from /usr/include/kde/kmimetype.h:33, from /usr/include/kde/kfiledialog.h:33, from kuarantine.cpp:18: /usr/include/kde/ksycocaentry.h: In member function 'virtual void KSycocaEntry::save(QDataStream&)': /usr/include/kde/ksycocaentry.h:104:32: warning: conversion from 'QIODevice::Offset' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 104 | mOffset = s.device()->at(); // store position in member variable | ~~~~~~~~~~~~~~^~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o tabwidget.o tabwidget.cpp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/lib64/qt-3.3/include/qcstring.h:49, from /usr/lib64/qt-3.3/include/qstring.h:45, from /usr/include/kde/kparts/part.h:23, from frame.h:11, from tabwidget.h:11, from tabwidget.cpp:8: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/lib64/qt-3.3/include/qstring.h:223:58: warning: conversion from 'int' to 'ushort' {aka 'short unsigned int'} may change value [-Wconversion] 223 | void setRow( uchar row ) { ucs = (((ushort) row)<<8) + (ucs&0xff); } | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib64/qt-3.3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/lib64/qt-3.3/include/qstring.h:365:46: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ /usr/lib64/qt-3.3/include/qstring.h:365:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 365 | QShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } | ^ In file included from /usr/lib64/qt-3.3/include/qobject.h:48, from /usr/lib64/qt-3.3/include/qguardedptr.h:45, from /usr/include/kde/kparts/part.h:25: /usr/lib64/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(Reason, const QPoint&, const QPoint&, int)': /usr/lib64/qt-3.3/include/qevent.h:432:15: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 432 | reas( reason ), s((ushort)state) {} | ^~~~~~ /usr/lib64/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(Action)': /usr/lib64/qt-3.3/include/qevent.h:523:40: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 523 | void setAction( Action a ) { act = (uint)a; } | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qwidget.h:52, from /usr/lib64/qt-3.3/include/qtabwidget.h:45, from /usr/include/kde/ktabwidget.h:24, from tabwidget.h:13: /usr/lib64/qt-3.3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/lib64/qt-3.3/include/qsizepolicy.h:124:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qsizepolicy.h:124:72: warning: conversion from 'uint' {aka 'unsigned int'} to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 124 | *this = QSizePolicy( verData(), horData(), verStretch(), horStretch(), | ~~~~~~~~~~^~ In file included from /usr/include/kde/kpopupmenu.h:24, from tabwidget.cpp:15: /usr/include/kde/kpixmapeffect.h: At global scope: /usr/include/kde/kpixmapeffect.h:186:63: warning: conversion from 'double' to 'float' changes value from '2.9999999999999999e-1' to '3.00000012e-1f' [-Wfloat-conversion] 186 | static KPixmap& desaturate(KPixmap& pixmap, float desat = 0.3); | ^~~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35, from tabwidget.cpp:18: /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth() const': /usr/lib64/qt-3.3/include/qlistbox.h:194:48: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 194 | int cellWidth() const { return maxItemWidth(); } | ~~~~~~~~~~~~^~ /usr/lib64/qt-3.3/include/qlistbox.h: In member function 'int QListBox::cellWidth(int) const': /usr/lib64/qt-3.3/include/qlistbox.h:195:81: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 195 | int cellWidth(int i) const { Q_ASSERT(i==0); Q_UNUSED(i) return maxItemWidth(); } | ~~~~~~~~~~~~^~ tabwidget.cpp: In member function 'unsigned int KlamAV::TabWidget::tabBarWidthForMaxChars(uint)': tabwidget.cpp:75:17: warning: variable 'overlap' set but not used [-Wunused-but-set-variable] 75 | int hframe, overlap; | ^~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' RPM build warnings: RPM build errors: make[2]: *** [Makefile:704: all-recursive] Error 1 make[1]: *** [Makefile:437: all-recursive] Error 1 make: *** [Makefile:348: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Ikm6O1 (%build) %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.Ikm6O1 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/klamav.spec