Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667972372.033046/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '030679e9d5ce48e08e9f965475bdb2a9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667972372.033046/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/klamav-0.46-37.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/klamav.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667972372.033046/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '27ac1459b3734b039099e0eb92fabcd8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667972372.033046/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hx30_t2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZnMMbl + 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 . Patch #0 (klamav-0.46-suse-clamav-path.patch): + echo '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 + /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 + xargs /usr/bin/sed -i -e s,klamav02,klamav,g + find doc -name 'Makefile.*' -o -name index.docbook -type f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7da4Vu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 10:27:28.000000000 +0000 +++ ./configure 2022-11-09 05:42:57.473474763 +0000 @@ -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=x86_64-redhat-linux-gnu --host=x86_64-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... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-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 x86_64-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... pass_all 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 x86_64-redhat-linux-gnu-g77... no checking for x86_64-redhat-linux-gnu-xlf... no checking for x86_64-redhat-linux-gnu-f77... no checking for x86_64-redhat-linux-gnu-frt... no checking for x86_64-redhat-linux-gnu-pgf77... no checking for x86_64-redhat-linux-gnu-cf77... no checking for x86_64-redhat-linux-gnu-fort77... no checking for x86_64-redhat-linux-gnu-fl32... no checking for x86_64-redhat-linux-gnu-af77... no checking for x86_64-redhat-linux-gnu-xlf90... no checking for x86_64-redhat-linux-gnu-f90... no checking for x86_64-redhat-linux-gnu-pgf90... no checking for x86_64-redhat-linux-gnu-pghpf... no checking for x86_64-redhat-linux-gnu-epcf90... no checking for x86_64-redhat-linux-gnu-gfortran... no checking for x86_64-redhat-linux-gnu-g95... no checking for x86_64-redhat-linux-gnu-xlf95... no checking for x86_64-redhat-linux-gnu-f95... no checking for x86_64-redhat-linux-gnu-fort... no checking for x86_64-redhat-linux-gnu-ifort... no checking for x86_64-redhat-linux-gnu-ifc... no checking for x86_64-redhat-linux-gnu-efc... no checking for x86_64-redhat-linux-gnu-pgf95... no checking for x86_64-redhat-linux-gnu-lf95... no checking for x86_64-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 x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip 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 -m elf_x86_64) 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 -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) 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 + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' Making all in . make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' Making all in en 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' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' Making all in po make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' rm -f de.gmo; /usr/bin/msgfmt -o de.gmo ./de.po rm -f tr.gmo; /usr/bin/msgfmt -o tr.gmo ./tr.po test ! -f de.gmo || touch de.gmo test ! -f tr.gmo || touch tr.gmo rm -f hu.gmo; /usr/bin/msgfmt -o hu.gmo ./hu.po rm -f es.gmo; /usr/bin/msgfmt -o es.gmo ./es.po test ! -f hu.gmo || touch hu.gmo test ! -f es.gmo || touch es.gmo rm -f it.gmo; /usr/bin/msgfmt -o it.gmo ./it.po rm -f fr.gmo; /usr/bin/msgfmt -o fr.gmo ./fr.po test ! -f it.gmo || touch it.gmo rm -f uk.gmo; /usr/bin/msgfmt -o uk.gmo ./uk.po test ! -f fr.gmo || touch fr.gmo rm -f cs.gmo; /usr/bin/msgfmt -o cs.gmo ./cs.po test ! -f uk.gmo || touch uk.gmo test ! -f cs.gmo || touch cs.gmo rm -f zh_CN.gmo; /usr/bin/msgfmt -o zh_CN.gmo ./zh_CN.po rm -f pt_BR.gmo; /usr/bin/msgfmt -o pt_BR.gmo ./pt_BR.po test ! -f zh_CN.gmo || touch zh_CN.gmo rm -f pl.gmo; /usr/bin/msgfmt -o pl.gmo ./pl.po test ! -f pt_BR.gmo || touch pt_BR.gmo rm -f ru.gmo; /usr/bin/msgfmt -o ru.gmo ./ru.po test ! -f pl.gmo || touch pl.gmo test ! -f ru.gmo || touch ru.gmo make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' Making all in src make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' Making all in icons make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/icons' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/icons' Making all in about make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/about' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/about' Making all in action make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/action' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/action' Making all in arkollon make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' rm -rf logdialog.h; rm -rf wizardbase.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 ; /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. -i used with no filenames on the command line, reading from STDIN. /usr/lib64/qt-3.3/bin/moc ./wizard.h -o wizard.moc /usr/lib64/qt-3.3/bin/moc ./uninstallwizard.h -o uninstallwizard.moc /usr/lib64/qt-3.3/bin/moc logdialog.h -o logdialog.moc rm -f logdialog.cpp echo '#include ' > logdialog.cpp 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamarkollon.o klamarkollon.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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizard.o wizard.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 wizard.h:23, from wizard.cpp:20: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ /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/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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 ) | ^~~~~~~~~~~~~~~ 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) { } | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 ) | ^~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 | ~~~~^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/bin/moc wizardbase.h -o wizardbase.moc 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o wizardbase.o wizardbase.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 wizardbase.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 ) | ^~~~~~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c clamdmail.c 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c options.c options.c: In function 'main': options.c:122:21: warning: implicit declaration of function 'mprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] 122 | mprintf("!Unknown option passed.\n"); | ^~~~~~~ | dprintf clamdmail.c: In function 'clamdscan': clamdmail.c:110:5: warning: implicit declaration of function 'mprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] 110 | mprintf("clamdmail "KLAMAV_VERSION" \n"); | ^~~~~~~ | dprintf clamdmail.c:181:9: warning: implicit declaration of function 'client' [-Wimplicit-function-declaration] 181 | ret = client(tmpnm, opt, &virname); | ^~~~~~ clamdmail.c:199:56: warning: pointer targets in passing argument 3 of 'cl_load' differ in signedness [-Wpointer-sign] 199 | if((ret = cl_load(getargc(opt, 'd'), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * In file included from clamdmail.c:36: /usr/include/clamav.h:942:85: note: expected 'unsigned int *' but argument is of type 'int *' 942 | extern cl_error_t cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:209:52: warning: pointer targets in passing argument 3 of 'cl_load' differ in signedness [-Wpointer-sign] 209 | if((ret = cl_load(cl_retdbdir(), engine, &no, CL_DB_STDOPT))) { | ^~~ | | | int * /usr/include/clamav.h:942:85: note: expected 'unsigned int *' but argument is of type 'int *' 942 | extern cl_error_t cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions); | ~~~~~~~~~~~~~~^~~~~ clamdmail.c:259:35: warning: format '%i' expects argument of type 'int', but argument 2 has type 'const char *' [-Wformat=] 259 | printf("scandesc returned: %i\n", cl_strerror(ret));; | ~^ ~~~~~~~~~~~~~~~~ | | | | int const char * | %s clamdmail.c:270:3: warning: implicit declaration of function 'spoolstdin' [-Wimplicit-function-declaration] 270 | spoolstdin(tmpnm, fd, ret, &virname, &bndrystore, opt); | ^~~~~~~~~~ clamdmail.c:107:15: warning: unused variable 'sb' [-Wunused-variable] 107 | struct stat sb; | ^~ clamdmail.c:97:15: warning: unused variable 'mb' [-Wunused-variable] 97 | long double mb; | ^~ clamdmail.c:95:11: warning: unused variable 'fdtmp' [-Wunused-variable] 95 | int fd, fdtmp, ret, no = 0; | ^~~~~ clamdmail.c:94:7: warning: unused variable 'threads' [-Wunused-variable] 94 | int threads = 0; | ^~~~~~~ clamdmail.c:93:19: warning: unused variable 'trie' [-Wunused-variable] 93 | struct cl_node *trie = NULL; | ^~~~ clamdmail.c:90:9: warning: unused variable 'fs' [-Wunused-variable] 90 | FILE *fs; | ^~ clamdmail.c:89:9: warning: unused variable 'tmp' [-Wunused-variable] 89 | FILE *tmp; | ^~~ clamdmail.c:88:18: warning: unused variable 'user' [-Wunused-variable] 88 | struct passwd *user = NULL; | ^~~~ clamdmail.c:87:9: warning: unused variable 'dir' [-Wunused-variable] 87 | char *dir; | ^~~ clamdmail.c:86:9: warning: unused variable 'tmper' [-Wunused-variable] 86 | char *tmper; | ^~~~~ clamdmail.c:85:9: warning: unused variable 'pfx' [-Wunused-variable] 85 | char *pfx; | ^~~ clamdmail.c:84:9: warning: unused variable 'tmpfil' [-Wunused-variable] 84 | char *tmpfil; | ^~~~~~ clamdmail.c:83:15: warning: unused variable 'tmpdir' [-Wunused-variable] 83 | const char *tmpdir; | ^~~~~~ clamdmail.c:80:22: warning: unused variable 't2' [-Wunused-variable] 80 | struct timeval t1, t2; | ^~ clamdmail.c:78:11: warning: unused variable 'dms' [-Wunused-variable] 78 | int ds, dms; | ^~~ clamdmail.c:78:7: warning: unused variable 'ds' [-Wunused-variable] 78 | int ds, dms; | ^~ clamdmail.c: In function 'spoolstdin': clamdmail.c:431:15: warning: unused variable 'bcnt' [-Wunused-variable] 431 | int bcnt = 0; | ^~~~ clamdmail.c:475:11: warning: unused variable 'bcnt' [-Wunused-variable] 475 | int bcnt = 0; | ^~~~ clamdmail.c:305:10: warning: unused variable 'starttime' [-Wunused-variable] 305 | time_t starttime; | ^~~~~~~~~ clamdmail.c:302:9: warning: unused variable 'storage' [-Wunused-variable] 302 | char *storage; | ^~~~~~~ clamdmail.c:301:9: warning: unused variable 's' [-Wunused-variable] 301 | char *s; | ^ clamdmail.c:297:8: warning: unused variable 'boundary' [-Wunused-variable] 297 | char boundary[1000]; | ^~~~~~~~ clamdmail.c:288:12: warning: unused variable 'size' [-Wunused-variable] 288 | long int size = 0; | ^~~~ clamdmail.c:287:10: warning: unused variable 'j' [-Wunused-variable] 287 | int i, j; | ^ clamdmail.c:287:7: warning: unused variable 'i' [-Wunused-variable] 287 | int i, j; | ^ clamdmail.c: In function 'startclamd': clamdmail.c:560:11: warning: unused variable 'scancmd' [-Wunused-variable] 560 | char *scancmd; | ^~~~~~~ clamdmail.c:555:10: warning: unused variable 'conffile' [-Wunused-variable] 555 | char conffile[31]; | ^~~~~~~~ clamdmail.c: In function 'clamdscan': clamdmail.c:150:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ clamdmail.c: In function 'startclamd': clamdmail.c:563:5: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | mkstemp(tmpnm); | ^~~~~~~~~~~~~~ options.c:142:13: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 142 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ options.c:142:13: note: length computed here 142 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c output.c 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); | ^~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c memory.c 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cfgparser.c 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c client.c 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); | ^~~~~~~~~~~ client.c: In function 'client': client.c:122:19: warning: implicit declaration of function 'passfile' [-Wimplicit-function-declaration] 122 | scanret = passfile(dirname, sockd, virname); | ^~~~~~~~ client.c:59:15: warning: unused variable 'fname' [-Wunused-variable] 59 | char *fname; | ^~~~~ client.c:58:21: warning: unused variable 'statbuf' [-Wunused-variable] 58 | struct stat statbuf; | ^~~~~~~ client.c:57:24: warning: unused variable 'dent' [-Wunused-variable] 57 | struct dirent *dent; | ^~~~ client.c:56:14: warning: unused variable 'dd' [-Wunused-variable] 56 | DIR *dd; | ^~ client.c:55:15: warning: unused variable 'fd' [-Wunused-variable] 55 | FILE *fd; | ^~ client.c:54:21: warning: unused variable 'clamav_conf' [-Wunused-variable] 54 | const char *clamav_conf; | ^~~~~~~~~~~ client.c:52:20: warning: unused variable 'bread' [-Wunused-variable] 52 | int sockd, bread; | ^~~~~ client.c:51:34: warning: unused variable 'cpt' [-Wunused-variable] 51 | struct cfgstruct *copt, *cpt; | ^~~ client.c:51:27: warning: unused variable 'copt' [-Wunused-variable] 51 | struct cfgstruct *copt, *cpt; | ^~~~ client.c:50:28: warning: unused variable 'server2' [-Wunused-variable] 50 | struct sockaddr_in server2; | ^~~~~~~ client.c:48:44: warning: unused variable 'scancmd' [-Wunused-variable] 48 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~~~~ client.c:48:37: warning: unused variable 'file' [-Wunused-variable] 48 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c:48:26: warning: unused variable 'cwd' [-Wunused-variable] 48 | char buff[4096], cwd[200], *file, *scancmd; | ^~~ client.c:48:14: warning: unused variable 'buff' [-Wunused-variable] 48 | char buff[4096], cwd[200], *file, *scancmd; | ^~~~ client.c: In function 'passfile': client.c:148:9: warning: implicit declaration of function 'mprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration] 148 | mprintf("@Can't write to the socket.\n"); | ^~~~~~~ | dprintf client.c:132:25: warning: unused variable 'cwd' [-Wunused-variable] 132 | char *fullpath, cwd[200]; | ^~~ client.c:132:15: warning: unused variable 'fullpath' [-Wunused-variable] 132 | char *fullpath, cwd[200]; | ^~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:142:13: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 142 | strncat(opt->filename, argv[i], strlen(argv[i])); | ^ options.c:142:13: note: length computed here 142 | 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 archivelimits.h; 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 ; /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 ; -i used with no filenames on the command line, reading from STDIN. -i used with no filenames on the command line, reading from STDIN. 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 ; 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 ; -i used with no filenames on the command line, reading from STDIN. rm -rf autoscanoptions.h; -i used with no filenames on the command line, reading from STDIN. /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 ; -i used with no filenames on the command line, reading from STDIN. 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 ; -i used with no filenames on the command line, reading from STDIN. /usr/bin/kconfig_compiler ./klamavconfig.kcfg ./klamavconfig.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f klamavconfig.h ; exit $ret ; fi /usr/lib64/qt-3.3/bin/moc ./klamav.h -o klamav.moc /usr/lib64/qt-3.3/bin/moc ./freshklam.h -o freshklam.moc /usr/lib64/qt-3.3/bin/moc ./sigtool.h -o sigtool.moc /usr/lib64/qt-3.3/bin/moc ./klamscan.h -o klamscan.moc /usr/lib64/qt-3.3/bin/moc ./klamd.h -o klamd.moc /usr/lib64/qt-3.3/bin/moc ./kuarantine.h -o kuarantine.moc /usr/lib64/qt-3.3/bin/moc ./aboutklamav.h -o aboutklamav.moc /usr/lib64/qt-3.3/bin/moc ./dbviewer.h -o dbviewer.moc /usr/lib64/qt-3.3/bin/moc ./frame.h -o frame.moc /usr/lib64/qt-3.3/bin/moc ./tabwidget.h -o tabwidget.moc /usr/lib64/qt-3.3/bin/moc ./viewer.h -o viewer.moc /usr/lib64/qt-3.3/bin/moc ./pageviewer.h -o pageviewer.moc /usr/lib64/qt-3.3/bin/moc ./klamav_run.h -o klamav_run.moc /usr/lib64/qt-3.3/bin/moc ./directorylist.h -o directorylist.moc /usr/lib64/qt-3.3/bin/moc ./scanviewer.h -o scanviewer.moc /usr/lib64/qt-3.3/bin/moc ./schedule.h -o schedule.moc /usr/lib64/qt-3.3/bin/moc ./datepicker.h -o datepicker.moc 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o cthost.o cthost.cpp 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/bits/stl_algobase.h:59, from /usr/include/c++/12/vector:60, from cthost.h:18, from cthost.cpp:16: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/bits/stl_algobase.h:59, from /usr/include/c++/12/vector:60, from ctcron.h:18, from ctcron.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ 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(), | ~~~~~~~~~~^~ 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::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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from ctunit.h:18, from ctmonth.h:18, from ctmonth.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from ctunit.h:18, from ctdom.h:18, from ctdom.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from ctunit.h:18, from ctdow.h:18, from ctdow.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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/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(), | ~~~~~~~~~~^~ 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; } | ^~~~~~~ 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("-"); | ~~~~~~~~~~~~~~~^~~~~ 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: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from cttask.h:18, from cttask.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ctvariable.o ctvariable.cpp In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from ctvariable.h:18, from ctvariable.cpp:15: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ 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(" ="); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ 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(), | ~~~~~~~~~~^~ 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' {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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktlistitem.o ktlistitem.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 ktlistitem.cpp:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/string:38, from cttask.h:18, from ktlisttask.cpp:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ /usr/lib64/qt-3.3/bin/moc ./ktview.h -o ktview.moc 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o kticon.o kticon.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/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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; } | ^~~~~~~ /usr/lib64/qt-3.3/bin/moc ./activityviewer.h -o activityviewer.moc /usr/lib64/qt-3.3/bin/moc ./collectiondb.h -o collectiondb.moc /usr/lib64/qt-3.3/bin/moc ./configdialog.h -o configdialog.moc /usr/lib64/qt-3.3/bin/moc ./k3bjobprogressosd_mod.h -o k3bjobprogressosd_mod.moc /usr/lib64/qt-3.3/bin/moc ./update.h -o update.moc /usr/bin/dcopidl ./dcopklamscan.h > dcopklamscan.kidl || ( rm -f dcopklamscan.kidl ; false ) /usr/lib64/qt-3.3/bin/moc archivelimits.h -o archivelimits.moc /usr/lib64/qt-3.3/bin/moc archivetypes.h -o archivetypes.moc /usr/lib64/qt-3.3/bin/moc specialfiletypes.h -o specialfiletypes.moc /usr/lib64/qt-3.3/bin/moc firstrunwizard.h -o firstrunwizard.moc /usr/lib64/qt-3.3/bin/moc autoscanoptions.h -o autoscanoptions.moc /usr/lib64/qt-3.3/bin/moc logoptions.h -o logoptions.moc 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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; } | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o main.o main.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 main.cpp:5: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/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/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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(); } | ~~~~~~~~~~~~^~ /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 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/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/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); | ^~~ 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; } | ^~~~~ 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-but-set-variable] 827 | unsigned int ret= 0; | ^~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 | ~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamscan.o klamscan.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 klamscan.h:12, from klamscan.cpp:5: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ /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 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/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/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/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 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/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 /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) | ^~~~~~~~ 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: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; } | ^~~~~ 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." )); | ~~~~~~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 | ~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o aboutklamav.o aboutklamav.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 aboutklamav.h:12, from aboutklamav.cpp:5: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(); } | ~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 '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); | ~~~~~^~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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; } | ^~~~~~~ dbviewer.cpp:243:13: warning: pointer 'buffer_34' may be used after 'free' [-Wuse-after-free] 243 | free(buffer); | ~~~~^~~~~~~~ dbviewer.cpp:231:9: note: call to 'free' here 231 | free(buffer); | ~~~~^~~~~~~~ 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(), | ~~~~~~~~~~^~ In file included from /usr/lib64/qt-3.3/include/qvariant.h:322: In member function 'QValueList::detach()', inlined from 'QValueList::first()' at /usr/lib64/qt-3.3/include/qvaluelist.h:535:55, inlined from 'KlamDB::getSigNos()' at dbviewer.cpp:798:36: /usr/lib64/qt-3.3/include/qvaluelist.h:566:30: warning: pointer used after 'operator delete(void*)' [-Wuse-after-free] 566 | void detach() { if ( sh->count > 1 ) detachInternal(); } | ~~~~^~~~~ In member function 'QValueListPrivate::derefAndDelete()', inlined from 'QValueListPrivate::derefAndDelete()' at /usr/lib64/qt-3.3/include/qvaluelist.h:236:10, inlined from 'QValueList::~QValueList()' at /usr/lib64/qt-3.3/include/qvaluelist.h:445:39, inlined from 'QStringList::~QStringList()' at /usr/lib64/qt-3.3/include/qstringlist.h:61:16, inlined from 'KlamDB::getSigNos()' at dbviewer.cpp:797:46: /usr/lib64/qt-3.3/include/qvaluelist.h:239:13: note: call to 'operator delete(void*)' here 239 | delete this; | ^~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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; } | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o viewer.o viewer.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/qkeysequence.h:47, from /usr/include/kde/kaction.h:29, from viewer.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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; | ^~~~~~~ /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/kaction.h:30: /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 /usr/include/kde/kapplication.h:38, from viewer.cpp:9: /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 viewer.cpp:13: /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 viewer.h:11, from viewer.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(); } | ~~~~~~~~~~~~^~ In file included from /usr/include/kde/kservice.h:28, from /usr/include/kde/kparts/browserrun.h:23, from klamav_run.h:11, from viewer.cpp:19: /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 | ~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o pageviewer.o pageviewer.cpp In file included from /usr/include/c++/12/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/12/x86_64-redhat-linux/bits/c++config.h:2895, from /usr/include/c++/12/cstdlib:41, from pageviewer.h:11, from pageviewer.cpp:10: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qdatetime.h:45, from pageviewer.h:14: /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/khtml_part.h:32, from viewer.h:11, from pageviewer.h: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, from /usr/lib64/qt-3.3/include/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from /usr/include/kde/kdialogbase.h:26, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35: /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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o klamav_run.o klamav_run.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/dom/dom_node.h:36, from /usr/include/kde/dom/dom_doc.h:32, from /usr/include/kde/dom/html_document.h:33, from /usr/include/kde/khtml_part.h:29, from viewer.h:11, from klamav_run.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27: /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/kpopupmenu.h:24, from pageviewer.cpp:17: /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); | ^~~ /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/khtml_part.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/qdialog.h:45, from /usr/include/kde/kdialog.h:26, from /usr/include/kde/kdialogbase.h:26, from /usr/include/kde/kfinddialog.h:24, from /usr/include/kde/khtml_part.h:35: /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: /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/kservice.h:28, from /usr/include/kde/kparts/browserrun.h:23, from klamav_run.h:11, from klamav_run.cpp:10: /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 | ~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o directorylist.o directorylist.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/qlabel.h:45, from directorylist.cpp:19: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o scanviewer.o scanviewer.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 scanviewer.h:12, from scanviewer.cpp:5: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 directorylist.cpp:23: /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/dcopref.h:27, from directorylist.cpp:30: /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;} | ~~~~~~~~~~~~^ /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) { } | ^ directorylist.cpp: In member function 'void Collection::Item::newItems(const KFileItemList&)': directorylist.cpp:194:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 194 | item->setOn( CollectionSetup::instance()->recursive() && isOn() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ directorylist.cpp: In member function 'void Collection::DeviceItem::newItems(const KFileItemList&)': directorylist.cpp:379:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 379 | item->setOn( CollectionSetup::instance()->recursive() && isOn() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 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 scanviewer.cpp:7: /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 scanviewer.cpp:10: 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; } | ^~~~~ scanviewer.cpp: In member function 'void ScanViewer::processOutput()': scanviewer.cpp:241:57: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 241 | KNotifyClient::event(kmain->_tray->winId(),"ScanAccessDenied", QString("Can't scan %1 " | ~~~~~~~~~~~~~~~~~~~^~ scanviewer.cpp:251:57: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 251 | KNotifyClient::event(kmain->_tray->winId(),"ScanAccessDenied", QString("Can't scan %1 " | ~~~~~~~~~~~~~~~~~~~^~ scanviewer.cpp:274:63: warning: conversion from 'int' to 'float' may change value [-Wconversion] 274 | progosd->setProgress ((int)(100 * (float)filesscanned/cnt)); | ^~~ scanviewer.cpp: In member function 'void ScanViewer::childExited()': scanviewer.cpp:616:53: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 616 | KNotifyClient::event(kmain->_tray->winId(),i18n( "ScanCompleteNoVirus" ), i18n( "Scan Complete - No Viruses Found!" )); | ~~~~~~~~~~~~~~~~~~~^~ scanviewer.cpp:618:53: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 618 | KNotifyClient::event(kmain->_tray->winId(),i18n( "ScanCompleteNoVirusButErrors" ), i18n( "Scan Complete - No Viruses Found But Some Errors Encountered!" )); | ~~~~~~~~~~~~~~~~~~~^~ scanviewer.cpp:627:65: warning: conversion from 'WId' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 627 | case 2 :KNotifyClient::event(kmain->_tray->winId(),"ScanAccessDenied", QString("Suspicious Items Not " | ~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib64/qt-3.3/include/qmap.h:49, from /usr/lib64/qt-3.3/include/qmime.h:46, from /usr/lib64/qt-3.3/include/qevent.h:48: In member function 'QValueList::detach()', inlined from 'QValueList::operator[](unsigned long)' at /usr/lib64/qt-3.3/include/qvaluelist.h:540:74, inlined from 'Collection::DeviceItem::DeviceItem(QListViewItem*, QString const&, KURL const&)' at directorylist.cpp:291:29: /usr/lib64/qt-3.3/include/qvaluelist.h:566:30: warning: pointer used after 'operator delete(void*)' [-Wuse-after-free] 566 | void detach() { if ( sh->count > 1 ) detachInternal(); } | ~~~~^~~~~ In member function 'QValueListPrivate::derefAndDelete()', inlined from 'QValueListPrivate::derefAndDelete()' at /usr/lib64/qt-3.3/include/qvaluelist.h:236:10, inlined from 'QValueList::~QValueList()' at /usr/lib64/qt-3.3/include/qvaluelist.h:445:39, inlined from 'QStringList::~QStringList()' at /usr/lib64/qt-3.3/include/qstringlist.h:61:16, inlined from 'Collection::DeviceItem::DeviceItem(QListViewItem*, QString const&, KURL const&)' at directorylist.cpp:287:14: /usr/lib64/qt-3.3/include/qvaluelist.h:239:13: note: call to 'operator delete(void*)' here 239 | delete this; | ^~~~~~~~~~~ In member function 'QValueList::detach()', inlined from 'QValueList::operator[](unsigned long)' at /usr/lib64/qt-3.3/include/qvaluelist.h:540:74, inlined from 'Collection::DeviceItem::mountDevice(QString const&)' at directorylist.cpp:468:17: /usr/lib64/qt-3.3/include/qvaluelist.h:566:30: warning: pointer used after 'operator delete(void*)' [-Wuse-after-free] 566 | void detach() { if ( sh->count > 1 ) detachInternal(); } | ~~~~^~~~~ In member function 'QValueListPrivate::derefAndDelete()', inlined from 'QValueListPrivate::derefAndDelete()' at /usr/lib64/qt-3.3/include/qvaluelist.h:236:10, inlined from 'QValueList::~QValueList()' at /usr/lib64/qt-3.3/include/qvaluelist.h:445:39, inlined from 'QStringList::~QStringList()' at /usr/lib64/qt-3.3/include/qstringlist.h:61:16, inlined from 'Collection::DeviceItem::mountDevice(QString const&)' at directorylist.cpp:464:11: /usr/lib64/qt-3.3/include/qvaluelist.h:239:13: note: call to 'operator delete(void*)' here 239 | delete this; | ^~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o schedule.o schedule.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 schedule.h:8, from schedule.cpp:5: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 schedule.h:9: /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/keditlistbox.h:24, from /usr/include/kde/kurlrequester.h:25, from schedule.cpp:14: /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 ctunit.h:157, from ctmonth.h:18, from cttask.h:20, from schedule.h:21: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o datepicker.o datepicker.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/qhbox.h:42, from /usr/lib64/qt-3.3/include/qvbox.h:45, from datepicker.h:31, from datepicker.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o ktview.o ktview.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 ktview.h:19, from ktview.cpp:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o activityviewer.o activityviewer.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 activityviewer.h:12, from activityviewer.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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(), | ~~~~~~~~~~^~ /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 ctunit.h:157, from ctmonth.h:18, from cttask.h:20, from ktview.cpp:29: 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())); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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(), | ~~~~~~~~~~^~ ktview.cpp: In member function 'void KTView::run() const': ktview.cpp:477:9: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 477 | system(QFile::encodeName(command)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from activityviewer.cpp:11: 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/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 activityviewer.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(); } | ~~~~~~~~~~~~^~ 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 activityviewer.cpp:20: /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 | ~~~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o collectiondb.o collectiondb.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 collectiondb.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o configdialog.o configdialog.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/qdatastream.h:45, from /usr/lib64/qt-3.3/include/qmap.h:47, from configdialog.h:20, from configdialog.cpp:16: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/lib64/qt-3.3/include/qdatastream.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) { } | ^ /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 /usr/include/kde/kdialog.h:26, from /usr/include/kde/kdialogbase.h:26, from /usr/include/kde/kconfigdialog.h:27, from configdialog.h:23: /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/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; } | ^~~~~~~ In file included from /usr/include/kde/klistbox.h:21, from /usr/include/kde/kjanuswidget.h:27, from /usr/include/kde/kdialogbase.h:27: /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 collectiondb.cpp:10: 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/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 /usr/include/kde/kapplication.h:38, from klamav.h:12, from collectiondb.cpp:11: /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/kinputdialog.h:32, from collectiondb.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(); } | ~~~~~~~~~~~~^~ collectiondb.cpp: In member function 'virtual int SqliteConnection::insert(const QString&, const QString&)': collectiondb.cpp:602:37: warning: conversion from 'sqlite_int64' {aka 'long long int'} to 'int' may change value [-Wconversion] 602 | return sqlite3_last_insert_rowid( m_db ); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o k3bjobprogressosd_mod.o k3bjobprogressosd_mod.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 k3bjobprogressosd_mod.h:19, from k3bjobprogressosd_mod.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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/kpopupmenu.h:24, from k3bjobprogressosd_mod.cpp:30: /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); | ^~~ k3bjobprogressosd_mod.cpp: In member function 'void K3bJobProgressOSD::renderOSD()': k3bjobprogressosd_mod.cpp:140:11: warning: variable 'textSize' set but not used [-Wunused-but-set-variable] 140 | QSize textSize = fontMetrics().size( 0, m_text ); | ^~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o update.o update.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 update.cpp:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ /usr/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub dcopklamscan.kidl rm -f archivelimits.cpp echo '#include ' > archivelimits.cpp echo '#include ' >> archivelimits.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i archivelimits.h ./archivelimits.ui > archivelimits.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" archivelimits.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_archivelimits,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> archivelimits.cpp ;\ rm -f archivelimits.cpp.temp ;\ if test "$ret" = 0; then echo '#include "archivelimits.moc"' >> archivelimits.cpp; else rm -f archivelimits.cpp ; exit $ret ; fi 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 update.h:30, from update.cpp:23: /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; | ^~~~~~~~~~~ rm -f archivetypes.cpp echo '#include ' > archivetypes.cpp echo '#include ' >> archivetypes.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i archivetypes.h ./archivetypes.ui > archivetypes.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" archivetypes.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_archivetypes,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> archivetypes.cpp ;\ rm -f archivetypes.cpp.temp ;\ if test "$ret" = 0; then echo '#include "archivetypes.moc"' >> archivetypes.cpp; else rm -f archivetypes.cpp ; exit $ret ; fi 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 update.h:33: /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(); } | ~~~~~~~~~~~~^~ rm -f specialfiletypes.cpp echo '#include ' > specialfiletypes.cpp echo '#include ' >> specialfiletypes.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i specialfiletypes.h ./specialfiletypes.ui > specialfiletypes.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" specialfiletypes.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_specialfiletypes,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> specialfiletypes.cpp ;\ rm -f specialfiletypes.cpp.temp ;\ if test "$ret" = 0; then echo '#include "specialfiletypes.moc"' >> specialfiletypes.cpp; else rm -f specialfiletypes.cpp ; exit $ret ; fi rm -f firstrunwizard.cpp echo '#include ' > firstrunwizard.cpp echo '#include ' >> firstrunwizard.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i firstrunwizard.h ./firstrunwizard.ui > firstrunwizard.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" firstrunwizard.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_firstrunwizard,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> firstrunwizard.cpp ;\ rm -f firstrunwizard.cpp.temp ;\ if test "$ret" = 0; then echo '#include "firstrunwizard.moc"' >> firstrunwizard.cpp; else rm -f firstrunwizard.cpp ; exit $ret ; fi update.cpp: In member function 'void KlamavUpdate::downloadComponent(QString, QString, QString)': update.cpp:173:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 173 | download = false; | ~~~~~~~~~^~~~~~~ update.cpp:174:17: note: here 174 | default: | ^~~~~~~ rm -f autoscanoptions.cpp echo '#include ' > autoscanoptions.cpp echo '#include ' >> autoscanoptions.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i autoscanoptions.h ./autoscanoptions.ui > autoscanoptions.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" autoscanoptions.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_autoscanoptions,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> autoscanoptions.cpp ;\ rm -f autoscanoptions.cpp.temp ;\ if test "$ret" = 0; then echo '#include "autoscanoptions.moc"' >> autoscanoptions.cpp; else rm -f autoscanoptions.cpp ; exit $ret ; fi rm -f logoptions.cpp echo '#include ' > logoptions.cpp echo '#include ' >> logoptions.cpp /usr/lib64/qt-3.3/bin/uic -L /usr/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i logoptions.h ./logoptions.ui > logoptions.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" logoptions.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_logoptions,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> logoptions.cpp ;\ rm -f logoptions.cpp.temp ;\ if test "$ret" = 0; then echo '#include "logoptions.moc"' >> logoptions.cpp; else rm -f logoptions.cpp ; exit $ret ; fi 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o dcopklamscan_skel.o dcopklamscan_skel.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/qobject.h:46, from /usr/include/kde/dcopobject.h:26, from ./dcopklamscan.h:23, from dcopklamscan_skel.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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: /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; } | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o archivelimits.o archivelimits.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 archivelimits.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o archivetypes.o archivetypes.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 archivetypes.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o specialfiletypes.o specialfiletypes.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 specialfiletypes.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ /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/keditlistbox.h:24, from /usr/include/kde/kurlrequester.h:25, from archivetypes.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/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(), | ~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o firstrunwizard.o firstrunwizard.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 firstrunwizard.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o autoscanoptions.o autoscanoptions.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 autoscanoptions.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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) { } | ^ /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/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/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/keditlistbox.h:24, from /usr/include/kde/kurlrequester.h:25, from firstrunwizard.cpp:19: /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(); } | ~~~~~~~~~~~~^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o logoptions.o logoptions.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 logoptions.cpp:1: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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(), | ~~~~~~~~~~^~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 klamav -L/usr/lib64/qt-3.3/lib -L/usr/lib64 main.o klamav.o freshklam.o sigtool.o klamscan.o klamd.o kuarantine.o aboutklamav.o dbviewer.o frame.o tabwidget.o viewer.o pageviewer.o klamav_run.o directorylist.o scanviewer.o schedule.o datepicker.o cthost.o ctcron.o ctmonth.o ctdom.o ctdow.o cttask.o ctvariable.o ktlistitem.o ktlisttask.o ktlisttasks.o ktview.o ktlistcron.o kticon.o activityviewer.o collectiondb.o configdialog.o k3bjobprogressosd_mod.o update.o dcopklamscan_skel.o archivelimits.o archivetypes.o specialfiletypes.o firstrunwizard.o autoscanoptions.o logoptions.o klamavconfig.o -lkio -lkparts -lkhtml -lsqlite3 -lclamav make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46' make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IIBplM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 + /usr/bin/rm -rf /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 + make DESTDIR=/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 install Making install in doc make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' Making install in . make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' Making install in en make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc/en' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/doc/en' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav /usr/bin/install -c -p -m 644 index.docbook /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav/index.docbook /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav /usr/bin/install -c -p -m 644 index.cache.bz2 /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav/ rm -f /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav/common ln -s /usr/share/doc/HTML/en/common /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/HTML/en/klamav/common make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc/en' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc/en' make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46/doc' Making install in po make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/po' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/install -c -p -m 644 de.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/de/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/de/LC_MESSAGES /usr/bin/install -c -p -m 644 tr.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/tr/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/tr/LC_MESSAGES /usr/bin/install -c -p -m 644 hu.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/hu/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/hu/LC_MESSAGES /usr/bin/install -c -p -m 644 es.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/es/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/es/LC_MESSAGES /usr/bin/install -c -p -m 644 it.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/it/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/it/LC_MESSAGES /usr/bin/install -c -p -m 644 fr.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/fr/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/fr/LC_MESSAGES /usr/bin/install -c -p -m 644 uk.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/uk/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/uk/LC_MESSAGES /usr/bin/install -c -p -m 644 cs.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/cs/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/cs/LC_MESSAGES /usr/bin/install -c -p -m 644 zh_CN.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/zh_CN/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/zh_CN/LC_MESSAGES /usr/bin/install -c -p -m 644 pt_BR.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/pt_BR/LC_MESSAGES /usr/bin/install -c -p -m 644 pl.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/pl/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/pl/LC_MESSAGES /usr/bin/install -c -p -m 644 ru.gmo /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/ru/LC_MESSAGES/klamav.mo mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/locale/ru/LC_MESSAGES make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46/po' Making install in src make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' Making install in icons make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/icons' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/icons' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/32x32/apps mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/32x32/apps /usr/bin/install -c -p -m 644 ./hi32-app-klamav.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/32x32/apps/klamav.png /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/48x48/apps mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/48x48/apps /usr/bin/install -c -p -m 644 ./hi48-app-klamav.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/icons/hicolor/48x48/apps/klamav.png /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps /usr/bin/install -c -p -m 644 ./hi32-app-klamav.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_update_required.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_update_required.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_on_acc_enabled.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_on_acc_enabled.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_error.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_error.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_quarantining.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_quarantining.png /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/48x48/apps mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/48x48/apps /usr/bin/install -c -p -m 644 ./hi48-app-klamav.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/48x48/apps/klamav.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_on_acc_disabled.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_on_acc_disabled.png /bin/sh ../../admin/mkinstalldirs /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/actions mkdir -p -- /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/actions /usr/bin/install -c -p -m 644 ./hi32-action-klamav_scanning.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scanning.png /usr/bin/install -c -p -m 644 ./hi32-action-klamav_scan_found.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scan_found.png /usr/bin/install -c -p -m 644 ./hi32-action-klamav_scan_safe.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/actions/klamav_scan_safe.png /usr/bin/install -c -p -m 644 ./hi32-app-klamav_virus.png /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/icons/hicolor/32x32/apps/klamav_virus.png make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/icons' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/icons' Making install in about make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/about' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/about' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/apps/klamav/about" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about" /usr/bin/install -c -p -m 644 'main.html' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/main.html' /usr/bin/install -c -p -m 644 'wait.html' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/wait.html' /usr/bin/install -c -p -m 644 'nodb.html' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/nodb.html' /usr/bin/install -c -p -m 644 'aboutklamav.html' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/aboutklamav.html' /usr/bin/install -c -p -m 644 'klam.png' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/klam.png' /usr/bin/install -c -p -m 644 'tshirt.png' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/about/tshirt.png' make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/about' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/about' Making install in action make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/action' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/action' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin" /usr/bin/install -c -p 'ScanWithKlamAV' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/ScanWithKlamAV' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/action' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/action' Making install in arkollon make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin" /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p 'klamarkollon' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klamarkollon' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/arkollon' Making install in klammail make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src/klammail' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin" /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p 'klammail' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klammail' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src/klammail' Making install in . make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' make[3]: Entering directory '/builddir/build/BUILD/klamav-0.46/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin" /bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p 'klamav' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klamav' test -z "/usr/share/apps/klamav" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav" /usr/bin/install -c -p -m 644 'eventsrc' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/eventsrc' test -z "/usr/share/config.kcfg" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/config.kcfg" /usr/bin/install -c -p -m 644 'klamavconfig.kcfg' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/config.kcfg/klamavconfig.kcfg' test -z "/usr/share/applnk/Utilities" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applnk/Utilities" /usr/bin/install -c -p -m 644 'klamav.desktop' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applnk/Utilities/klamav.desktop' test -z "/usr/share/apps/konqueror/servicemenus" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/konqueror/servicemenus" /usr/bin/install -c -p -m 644 'klamav-dropdown.desktop' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/konqueror/servicemenus/klamav-dropdown.desktop' test -z "/usr/share/apps/klamav" || mkdir -p -- "/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav" /usr/bin/install -c -p -m 644 'klamavui.rc' '/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/apps/klamav/klamavui.rc' make[3]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46/src' make[1]: Entering directory '/builddir/build/BUILD/klamav-0.46' make[2]: Entering directory '/builddir/build/BUILD/klamav-0.46' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Leaving directory '/builddir/build/BUILD/klamav-0.46' make[1]: Leaving directory '/builddir/build/BUILD/klamav-0.46' + /usr/bin/sed -i.orig -e '/^Terminal/s|^.*$|Terminal=false|' /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applnk/Utilities/klamav.desktop + /usr/bin/rm -f /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applnk/Utilities/klamav.desktop.orig + desktop-file-install --delete-original --dir /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applications/ /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/applnk/Utilities/klamav.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 klamav + chmod 644 src/klammail/cfgparser.c src/klammail/clamdmail.c src/klammail/client.c src/klammail/memory.c src/klammail/options.c src/klammail/output.c src/klammail/cfgparser.h src/klammail/defaults.h src/klammail/memory.h src/klammail/options.h src/klammail/output.h src/klammail/shared.h src/klammail/str.h src/klammail/target.h + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.46-37.fc38 --unique-debug-suffix -0.46-37.fc38.x86_64 --unique-debug-src-base klamav-0.46-37.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/klamav-0.46 extracting debug info from /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klamarkollon extracting debug info from /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klamav extracting debug info from /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/bin/klammail original debug info size: 8616kB, size after compression: 6492kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 2654 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/ScanWithKlamAV from /bin/bash -v to #!/usr/bin/bash -v + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: klamav-0.46-37.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OlNXIN + umask 022 + cd /builddir/build/BUILD + cd klamav-0.46 + DOCDIR=/builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + cp -pr AUTHORS /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + cp -pr ChangeLog /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + cp -pr COPYING /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + cp -pr README /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + cp -pr TODO /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64/usr/share/doc/klamav + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/doc/HTML/en/klamav/common -> /usr/share/doc/HTML/en/common Provides: application() application(klamav.desktop) klamav = 0.46-37.fc38 klamav(x86-64) = 0.46-37.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libDCOP.so.4()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libclamav.so.9()(64bit) libclamav.so.9(CLAMAV_PUBLIC)(64bit) libkdecore.so.4()(64bit) libkdeui.so.4()(64bit) libkhtml.so.4()(64bit) libkio.so.4()(64bit) libkparts.so.2()(64bit) libkutils.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libqt-mt.so.3()(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: klamav-debugsource-0.46-37.fc38.x86_64 Provides: klamav-debugsource = 0.46-37.fc38 klamav-debugsource(x86-64) = 0.46-37.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: klamav-debuginfo-0.46-37.fc38.x86_64 Provides: debuginfo(build-id) = 425d30bc10ec3b9714cc2d883b671bce19808fed debuginfo(build-id) = 62c17caea4602b5e7b2edf6d678c51645b544dcb debuginfo(build-id) = e1509613fbe1009910b36ae541e9cf218dfa19e1 klamav-debuginfo = 0.46-37.fc38 klamav-debuginfo(x86-64) = 0.46-37.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: klamav-debugsource(x86-64) = 0.46-37.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 Wrote: /builddir/build/RPMS/klamav-0.46-37.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/klamav-debugsource-0.46-37.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/klamav-debuginfo-0.46-37.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2mQFUX + umask 022 + cd /builddir/build/BUILD + cd klamav-0.46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/klamav-0.46-37.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.bNuLum + umask 022 + cd /builddir/build/BUILD + rm -rf klamav-0.46 klamav-0.46.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/doc/HTML/en/klamav/common -> /usr/share/doc/HTML/en/common Child return code was: 0