Diff of the two buildlogs: -- --- b1/build.log 2020-06-06 15:50:12.218742712 +0000 +++ b2/build.log 2020-06-06 15:54:05.046245593 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 6 03:32:38 -12 2020 -I: pbuilder-time-stamp: 1591457558 +I: Current time: Sun Jun 7 05:50:47 +14 2020 +I: pbuilder-time-stamp: 1591458647 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jan 31 00:02:05 2017 -12 +gpgv: Signature made Wed Feb 1 02:02:05 2017 +14 gpgv: using RSA key 64F429E36EA11CC2D966546F125B57475E190D18 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./raidutils_0.0.6-22.dsc @@ -28,136 +28,170 @@ dpkg-source: info: applying debian-changes I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21706/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e0693925c2904b62b3dd4e3c72d394ec' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21706' - PS1='# ' - PS2='> ' + INVOCATION_ID=da5b7c37bdb9489ea03595ead2eeeec4 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=25190 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.UPEAQ95qnm/pbuilderrc_NXMa --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.UPEAQ95qnm/b1 --logfile b1/build.log raidutils_0.0.6-22.dsc' - SUDO_GID='115' - SUDO_UID='111' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.UPEAQ95qnm/pbuilderrc_Bc7G --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.UPEAQ95qnm/b2 --logfile b2/build.log raidutils_0.0.6-22.dsc' + SUDO_GID=111 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux cbxi4pro0 4.19.0-9-armmp #1 SMP Debian 4.19.118-2 (2020-04-29) armv7l GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-armmp-lpae #1 SMP Debian 4.19.118-2 (2020-04-29) armv7l GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 5 20:26 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/21706/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 7 05:51 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 4 22:09 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -229,7 +263,7 @@ Get: 32 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 33 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 34 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] -Fetched 19.0 MB in 2s (10.4 MB/s) +Fetched 19.0 MB in 9s (2126 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) @@ -388,7 +422,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/raidutils-0.0.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/raidutils-0.0.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package raidutils dpkg-buildpackage: info: source version 0.0.6-22 dpkg-buildpackage: info: source distribution unstable @@ -643,18 +677,20 @@ config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/raidutils-0.0.6' make all-recursive make[2]: Entering directory '/build/raidutils-0.0.6' Making all in lib make[3]: Entering directory '/build/raidutils-0.0.6/lib' -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-ctlr_map.lo `test -f 'ctlr_map.cpp' || echo './'`ctlr_map.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dpt_buff.lo `test -f 'dpt_buff.cpp' || echo './'`dpt_buff.cpp +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engcalls.lo `test -f 'engcalls.cpp' || echo './'`engcalls.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -fPIC -DPIC -o .libs/libraidutil_la-ctlr_map.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -fPIC -DPIC -o .libs/libraidutil_la-engcalls.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -fPIC -DPIC -o .libs/libraidutil_la-dpt_buff.o engcalls.cpp: In function 'uLONG DPT_OpenEngine()': engcalls.cpp:586:65: warning: missing sentinel in function call [-Wformat=] execle(EngineLoadString,EngineLoadString, 0, environ); @@ -670,23 +706,21 @@ if(Offset + i >= Count) ~~~~~~~~~~~^~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dpt_buff.cpp -o libraidutil_la-dpt_buff.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -o libraidutil_la-engmsg.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c ctlr_map.cpp -o libraidutil_la-ctlr_map.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-engmsg.lo `test -f 'engmsg.c' || echo './'`engmsg.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engcalls.cpp -o libraidutil_la-engcalls.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -fPIC -DPIC -o .libs/libraidutil_la-engmsg.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-findpath.lo `test -f 'findpath.c' || echo './'`findpath.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -fPIC -DPIC -o .libs/libraidutil_la-findpath.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c engmsg.c -o libraidutil_la-engmsg.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-funcs.lo `test -f 'funcs.c' || echo './'`funcs.c -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -fPIC -DPIC -o .libs/libraidutil_la-funcs.o +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-hba_log.lo `test -f 'hba_log.cpp' || echo './'`hba_log.cpp +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -o libraidutil_la-funcs.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c findpath.c -o libraidutil_la-findpath.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-hba_log.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c funcs.c -o libraidutil_la-funcs.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c -/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-lockunix.lo `test -f 'lockunix.c' || echo './'`lockunix.c +/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-scsi_log.lo `test -f 'scsi_log.cpp' || echo './'`scsi_log.cpp libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -fPIC -DPIC -o .libs/libraidutil_la-lockunix.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -o libraidutil_la-hba_log.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c lockunix.c: In function 'MkLock': lockunix.c:91:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, buffer, strlen(buffer)); @@ -703,12 +737,12 @@ read (fd, buffer, sizeof(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -fPIC -DPIC -o .libs/libraidutil_la-scsi_log.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -o libraidutil_la-lockunix.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o libraidutil_la-dptalign.lo `test -f 'dptalign.c' || echo './'`dptalign.c -libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -o libraidutil_la-scsi_log.o >/dev/null 2>&1 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c hba_log.cpp -o libraidutil_la-hba_log.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -fPIC -DPIC -o .libs/libraidutil_la-dptalign.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c lockunix.c -o libraidutil_la-lockunix.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c dptalign.c -o libraidutil_la-dptalign.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/arm-linux-gnueabihf libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo +libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -DNEW_LOGGER -DI_WANT_SNI_DEBUG -D__UNIX__ -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c scsi_log.cpp -o libraidutil_la-scsi_log.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o libraidutil.la -rpath /usr/lib/arm-linux-gnueabihf libraidutil_la-ctlr_map.lo libraidutil_la-dpt_buff.lo libraidutil_la-engcalls.lo libraidutil_la-engmsg.lo libraidutil_la-findpath.lo libraidutil_la-funcs.lo libraidutil_la-hba_log.lo libraidutil_la-lockunix.lo libraidutil_la-scsi_log.lo libraidutil_la-dptalign.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/8/crtbeginS.o .libs/libraidutil_la-ctlr_map.o .libs/libraidutil_la-dpt_buff.o .libs/libraidutil_la-engcalls.o .libs/libraidutil_la-engmsg.o .libs/libraidutil_la-findpath.o .libs/libraidutil_la-funcs.o .libs/libraidutil_la-hba_log.o .libs/libraidutil_la-lockunix.o .libs/libraidutil_la-scsi_log.o .libs/libraidutil_la-dptalign.o -L/usr/lib/gcc/arm-linux-gnueabihf/8 -L/usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/8/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabihf/8/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/8/../../../arm-linux-gnueabihf/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libraidutil.so.0 -o .libs/libraidutil.so.0.0.0 /usr/bin/ld: .libs/libraidutil_la-lockunix.o: in function `MkLock': ./lib/lockunix.c:85: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -724,6 +758,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-alarm.o `test -f 'alarm.cpp' || echo './'`alarm.cpp gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-bufiolsb.o `test -f 'bufiolsb.c' || echo './'`bufiolsb.c g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-cmdlist.o `test -f 'cmdlist.cpp' || echo './'`cmdlist.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -765,22 +800,6 @@ ../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' dptCaddr_S maxAddr PACK_A; // Maximum physical address supported ^~~~~~ -In file included from ../include/get_info.h:364, - from ./dpt_info.h:54, - from ../include/dpt_api.h:69, - from engiface.hpp:54, - from command.hpp:57, - from alarm.hpp:53, - from alarm.cpp:53: -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/device.hh:54:25: note: in expansion of macro 'PACK_A' - dptCcapacity_S capacity PACK_A; // Device capacity - ^~~~~~ ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -824,15 +843,6 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) ^~~~~~ -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/device.hh:55:26: note: in expansion of macro 'PACK_A' - dptCemuParam_S emulation PACK_A; // Emulated drive parameters - ^~~~~~ In file included from ../include/get_info.h:838, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -883,6 +893,31 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +In file included from ../include/get_info.h:364, + from ./dpt_info.h:54, + from ../include/dpt_api.h:69, + from engiface.hpp:54, + from command.hpp:57, + from alarm.hpp:53, + from alarm.cpp:53: +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/device.hh:54:25: note: in expansion of macro 'PACK_A' + dptCcapacity_S capacity PACK_A; // Device capacity + ^~~~~~ +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/device.hh:55:26: note: in expansion of macro 'PACK_A' + dptCemuParam_S emulation PACK_A; // Emulated drive parameters + ^~~~~~ In file included from ../include/get_info.h:771, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -933,6 +968,21 @@ ../include/hba.hh:43:19: note: in expansion of macro 'PACK_A' dptHBAid_U id PACK_A; // EISA = ID PAL bytes ^~~~~~ +In file included from ../include/get_info.h:364, + from ./dpt_info.h:54, + from ../include/dpt_api.h:69, + from engiface.hpp:54, + from command.hpp:57, + from command.cpp:75: +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/device.hh:54:25: note: in expansion of macro 'PACK_A' + dptCcapacity_S capacity PACK_A; // Device capacity + ^~~~~~ ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -942,6 +992,15 @@ ../include/hba.hh:83:42: note: in expansion of macro 'PACK_A' dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK_A; // SCSI channel info (multi-channel boards) ^~~~~~ +../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/device.hh:46:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/device.hh:55:26: note: in expansion of macro 'PACK_A' + dptCemuParam_S emulation PACK_A; // Emulated drive parameters + ^~~~~~ In file included from ../include/get_info.h:838, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -992,31 +1051,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-command.o `test -f 'command.cpp' || echo './'`command.cpp -In file included from ../include/get_info.h:364, - from ./dpt_info.h:54, - from ../include/dpt_api.h:69, - from engiface.hpp:54, - from command.hpp:57, - from command.cpp:75: -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/device.hh:54:25: note: in expansion of macro 'PACK_A' - dptCcapacity_S capacity PACK_A; // Device capacity - ^~~~~~ -../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/device.hh:46:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/device.hh:55:26: note: in expansion of macro 'PACK_A' - dptCemuParam_S emulation PACK_A; // Emulated drive parameters - ^~~~~~ In file included from ../include/get_info.h:771, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1122,51 +1156,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': -alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] - switch ( alarmCmd ) - ^ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-config.o `test -f 'config.cpp' || echo './'`config.cpp -command.cpp: In destructor 'virtual Command::~Command()': -command.cpp:121:15: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - delete engine; - ^~~~~~ -command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address(SCSI_Address&, Command::get_Devs_Type*, bool*)': -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] - switch (this_Devs_Type) - ^ -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -command.cpp:1416:20: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)': -command.cpp:1670:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::hba' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] - obj_Address.hba, - ~~~~~~~~~~~~^~~ -command.cpp:1671:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::bus' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] - obj_Address.bus, - ~~~~~~~~~~~~^~~ -command.cpp:1672:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::id' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] - obj_Address.id, - ~~~~~~~~~~~~^~ -command.cpp:1673:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::lun' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] - obj_Address.lun - ~~~~~~~~~~~~^~~ -command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] - dptCaddr_S addr = - ^~~~ -command.cpp: In member function 'char Command::PrintAQuestion(char*)': -command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(Buffer, sizeof(Buffer), stdin); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1296,7 +1286,64 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +command.cpp: In destructor 'virtual Command::~Command()': +command.cpp:121:15: warning: deleting object of polymorphic class type 'DPT_EngineIO_C' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + delete engine; + ^~~~~~ +alarm.cpp: In member function 'Command::Dpt_Error AlarmStatus::SendCommandToEngine(DPT_TAG_T, String_List**)': +alarm.cpp:229:9: warning: enumeration value 'None' not handled in switch [-Wswitch] + switch ( alarmCmd ) + ^ +command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address(SCSI_Address&, Command::get_Devs_Type*, bool*)': +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] + switch (this_Devs_Type) + ^ +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +command.cpp:1416:20: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +command.cpp: In member function 'DPT_TAG_T Command::Get_Dev_by_Address_and_Type(Command::get_Devs_Type, SCSI_Address&, bool*)': +command.cpp:1670:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::hba' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] + obj_Address.hba, + ~~~~~~~~~~~~^~~ +command.cpp:1671:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::bus' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] + obj_Address.bus, + ~~~~~~~~~~~~^~~ +command.cpp:1672:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::id' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] + obj_Address.id, + ~~~~~~~~~~~~^~ +command.cpp:1673:19: warning: narrowing conversion of 'obj_Address.SCSI_Address::lun' from 'int' to 'uCHAR' {aka 'unsigned char'} inside { } [-Wnarrowing] + obj_Address.lun + ~~~~~~~~~~~~^~~ +command.cpp:1668:15: warning: unused variable 'addr' [-Wunused-variable] + dptCaddr_S addr = + ^~~~ +command.cpp: In member function 'char Command::PrintAQuestion(char*)': +command.cpp:2153:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(Buffer, sizeof(Buffer), stdin); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-creatrad.o `test -f 'creatrad.cpp' || echo './'`creatrad.cpp +config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': +config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + else if ((engine->devInfo_P->level == 1) && + ^~ +config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + tempBuff_P->writeIndex = sizeof (smUserBuff_S); + ^~~~~~~~~~ +config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread (&readHdr, sizeof(dsmHdr_S), 1, fp); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(config_P->data,config_P->writeIndex,1,fp); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1431,19 +1478,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -config.cpp: In member function 'Command::Dpt_Error Config::LoadConfig(FILE*)': -config.cpp:310:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - else if ((engine->devInfo_P->level == 1) && - ^~ -config.cpp:313:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - tempBuff_P->writeIndex = sizeof (smUserBuff_S); - ^~~~~~~~~~ -config.cpp:235:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread (&readHdr, sizeof(dsmHdr_S), 1, fp); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -config.cpp:263:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(config_P->data,config_P->writeIndex,1,fp); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.cpp In file included from creatrad.cpp:51: creatrad.hpp: In constructor 'Create_Raid::Create_Raid(SCSI_Addr_List*, Command::Raid_Type, uLONG, uLONG, bool, bool, int, SCSI_Addr_List*)': creatrad.hpp:97:19: warning: 'Create_Raid::address_List' will be initialized after [-Wreorder] @@ -1486,17 +1521,6 @@ creatrad.cpp:87:1: warning: when initialized here [-Wreorder] Create_Raid::Create_Raid( const Create_Raid &new_Create_Raid ): ^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-deletrad.o `test -f 'deletrad.cpp' || echo './'`deletrad.cpp -creatrad.cpp: In member function 'Command::Dpt_Error Create_Raid::MakeGroupLists(String_List**)': -creatrad.cpp:714:3: warning: 'this_RAID_Type' may be used uninitialized in this function [-Wmaybe-uninitialized] - if ( this_RAID_Type >= 10 ) - ^~ -creatrad.cpp:631:34: warning: 'blksPerComp' may be used uninitialized in this function [-Wmaybe-uninitialized] - calcRaidSize = blksPerComp * numInThisGroup; - ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] - err = engine->Send (MSG_RAID_NEW, hbaTag); - ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1631,15 +1655,27 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.cpp deletrad.cpp: In member function 'Command::Dpt_Error Delete_Raid::CheckForSuppressed(DPT_TAG_T)': deletrad.cpp:407:9: warning: variable 'devChannel' set but not used [-Wunused-but-set-variable] int devChannel; // channel number of this device ^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.cpp +creatrad.cpp: In member function 'Command::Dpt_Error Create_Raid::MakeGroupLists(String_List**)': +creatrad.cpp:714:3: warning: 'this_RAID_Type' may be used uninitialized in this function [-Wmaybe-uninitialized] + if ( this_RAID_Type >= 10 ) + ^~ +creatrad.cpp:631:34: warning: 'blksPerComp' may be used uninitialized in this function [-Wmaybe-uninitialized] + calcRaidSize = blksPerComp * numInThisGroup; + ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +creatrad.cpp:464:24: warning: 'hbaTag' may be used uninitialized in this function [-Wmaybe-uninitialized] + err = engine->Send (MSG_RAID_NEW, hbaTag); + ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-dynsize.o `test -f 'dynsize.cpp' || echo './'`dynsize.cpp deletrad.cpp:498:19: warning: 'newChan' may be used uninitialized in this function [-Wmaybe-uninitialized] rh.addr.chan = newChan; ~~~~~~~~~~~~~^~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-engiface.o `test -f 'engiface.cpp' || echo './'`engiface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-expand.o `test -f 'expand.cpp' || echo './'`expand.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -1764,18 +1800,13 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' - extern "C" uLONG engineTimeOut = 0; - ^~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-eventlog.o `test -f 'eventlog.cpp' || echo './'`eventlog.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-expand.o `test -f 'expand.cpp' || echo './'`expand.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from eventlog.hpp:54, - from eventlog.cpp:53: + from expand.hpp:53, + from expand.cpp:51: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1799,8 +1830,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from eventlog.hpp:54, - from eventlog.cpp:53: + from expand.hpp:53, + from expand.cpp:51: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1824,8 +1855,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from eventlog.hpp:54, - from eventlog.cpp:53: + from expand.hpp:53, + from expand.cpp:51: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1858,8 +1889,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from eventlog.hpp:54, - from eventlog.cpp:53: + from expand.hpp:53, + from expand.cpp:51: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1883,8 +1914,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from eventlog.hpp:54, - from eventlog.cpp:53: + from expand.hpp:53, + from expand.cpp:51: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1903,14 +1934,13 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from expand.hpp:53, - from expand.cpp:51: + from eventlog.hpp:54, + from eventlog.cpp:53: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1934,8 +1964,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from expand.hpp:53, - from expand.cpp:51: + from eventlog.hpp:54, + from eventlog.cpp:53: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1959,8 +1989,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from expand.hpp:53, - from expand.cpp:51: + from eventlog.hpp:54, + from eventlog.cpp:53: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -1993,8 +2023,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from expand.hpp:53, - from expand.cpp:51: + from eventlog.hpp:54, + from eventlog.cpp:53: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -2018,8 +2048,8 @@ from ../include/dpt_api.h:69, from engiface.hpp:54, from command.hpp:57, - from expand.hpp:53, - from expand.cpp:51: + from eventlog.hpp:54, + from eventlog.cpp:53: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -2038,6 +2068,60 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +engiface.cpp:51:18: warning: 'engineTimeOut' initialized and declared 'extern' + extern "C" uLONG engineTimeOut = 0; + ^~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flash.o `test -f 'flash.cpp' || echo './'`flash.cpp +expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': +expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if ((engine->devInfo_P->raidParent == -1) && + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': +expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] + bool first_time_through = true; + ^~~~~~~~~~~~~~~~~~ +In file included from eventlog.cpp:53: +eventlog.hpp: In constructor 'EventLog::EventLog(SCSI_Addr_List*, EventLogOptions)': +eventlog.hpp:100:23: warning: 'EventLog::devsToCtrl' will be initialized after [-Wreorder] + SCSI_Addr_List *devsToCtrl; + ^~~~~~~~~~ +eventlog.hpp:99:23: warning: 'EventLogOptions EventLog::eventCmd' [-Wreorder] + EventLogOptions eventCmd; + ^~~~~~~~ +eventlog.cpp:305:1: warning: when initialized here [-Wreorder] + EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) + ^~~~~~~~ +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:570:34: warning: unused variable 'of' [-Wunused-variable] + hl_Overflow_S *of = (hl_Overflow_S *) datap; + ^~ +eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] + hl_decArray_S *da = (hl_decArray_S *) datap; + ^~ +eventlog.cpp:763:38: warning: unused variable 'df' [-Wunused-variable] + hl_driveFailure_S *df = (hl_driveFailure_S *) datap; + ^~ +eventlog.cpp:775:33: warning: unused variable 'vc' [-Wunused-variable] + hl_voltage_S *vc = (hl_voltage_S *) datap; + ^~ +eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] + hl_temperature_S *tc = (hl_temperature_S *) datap; + ^~ +eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': +eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] + uCHAR LOGLOGICAL = 1; + ^~~~~~~~~~ +eventlog.cpp:2157:8: warning: variable 'maxmain' set but not used [-Wunused-but-set-variable] + int maxmain[2]; + ^~~~~~~ +eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] + int maxsub[2]; + ^~~~~~ +eventlog.cpp: At global scope: +eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] + static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) + ^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2167,56 +2251,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -In file included from eventlog.cpp:53: -eventlog.hpp: In constructor 'EventLog::EventLog(SCSI_Addr_List*, EventLogOptions)': -eventlog.hpp:100:23: warning: 'EventLog::devsToCtrl' will be initialized after [-Wreorder] - SCSI_Addr_List *devsToCtrl; - ^~~~~~~~~~ -eventlog.hpp:99:23: warning: 'EventLogOptions EventLog::eventCmd' [-Wreorder] - EventLogOptions eventCmd; - ^~~~~~~~ -eventlog.cpp:305:1: warning: when initialized here [-Wreorder] - EventLog::EventLog (SCSI_Addr_List *deviceList, EventLogOptions cmd) - ^~~~~~~~ -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:570:34: warning: unused variable 'of' [-Wunused-variable] - hl_Overflow_S *of = (hl_Overflow_S *) datap; - ^~ -eventlog.cpp:755:34: warning: unused variable 'da' [-Wunused-variable] - hl_decArray_S *da = (hl_decArray_S *) datap; - ^~ -eventlog.cpp:763:38: warning: unused variable 'df' [-Wunused-variable] - hl_driveFailure_S *df = (hl_driveFailure_S *) datap; - ^~ -eventlog.cpp:775:33: warning: unused variable 'vc' [-Wunused-variable] - hl_voltage_S *vc = (hl_voltage_S *) datap; - ^~ -eventlog.cpp:789:37: warning: unused variable 'tc' [-Wunused-variable] - hl_temperature_S *tc = (hl_temperature_S *) datap; - ^~ -expand.cpp: In member function 'Command::Dpt_Error Expand::RaidExpandable()': -expand.cpp:110:42: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if ((engine->devInfo_P->raidParent == -1) && - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -expand.cpp: In member function 'virtual Command::Dpt_Error Expand::execute(String_List**)': -expand.cpp:170:7: warning: unused variable 'first_time_through' [-Wunused-variable] - bool first_time_through = true; - ^~~~~~~~~~~~~~~~~~ -eventlog.cpp: In function 'void LogRaidStatus(uCHAR, uCHAR, char*)': -eventlog.cpp:2153:10: warning: unused variable 'LOGLOGICAL' [-Wunused-variable] - uCHAR LOGLOGICAL = 1; - ^~~~~~~~~~ -eventlog.cpp:2157:8: warning: variable 'maxmain' set but not used [-Wunused-but-set-variable] - int maxmain[2]; - ^~~~~~~ -eventlog.cpp:2158:8: warning: variable 'maxsub' set but not used [-Wunused-but-set-variable] - int maxsub[2]; - ^~~~~~ -eventlog.cpp: At global scope: -eventlog.cpp:1768:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' defined but not used [-Wunused-function] - static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out) - ^~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-flashmem.o `test -f 'flashmem.cpp' || echo './'`flashmem.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2346,30 +2381,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': -eventlog.cpp:1604:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); - ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from flashmem.cpp:71: -flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': -flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] - Region m_Region; - ^~~~~~~~ -flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] - const DPT_TAG_T m_Tag; - ^~~~~ -flashmem.h:109:12: warning: when initialized here [-Wreorder] - inline FlashMemory( - ^~~~~~~~~~~ -flashmem.cpp: In member function 'virtual dpt_sig_S SmorFlashMemory::GetSignature()': -flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] - switch ( GetCompressionState() ) - ^ -flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': -flash.cpp:1566:9: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] - char Old_PCI_ID, BIOS_rewrite = 0; - ^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-forcest.o `test -f 'forcest.cpp' || echo './'`forcest.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2504,6 +2515,10 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': +eventlog.cpp:1604:30: warning: 'toffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + SetScsiAddr(log, toffset, &ID, &CHAN, &LUN); + ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from forcest.cpp:50: forcest.hpp: In constructor 'ForceState::ForceState(SCSI_Addr_List*, ForceStateOptions)': forcest.hpp:80:19: warning: 'ForceState::objsToCtrl' will be initialized after [-Wreorder] @@ -2543,7 +2558,22 @@ forcest.cpp:110:8: warning: unused variable 'devFound' [-Wunused-variable] bool devFound = true; ^~~~~~~~ +In file included from flashmem.cpp:71: +flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': +flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] + Region m_Region; + ^~~~~~~~ +flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] + const DPT_TAG_T m_Tag; + ^~~~~ +flashmem.h:109:12: warning: when initialized here [-Wreorder] + inline FlashMemory( + ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-id_list.o `test -f 'id_list.cpp' || echo './'`id_list.cpp +flashmem.cpp: In member function 'virtual dpt_sig_S SmorFlashMemory::GetSignature()': +flashmem.cpp:471:12: warning: enumeration value 'Unknown' not handled in switch [-Wswitch] + switch ( GetCompressionState() ) + ^ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2666,6 +2696,10 @@ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-intlist.o `test -f 'intlist.cpp' || echo './'`intlist.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-listdev.o `test -f 'listdev.cpp' || echo './'`listdev.cpp g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzssdon.o `test -f 'lzssdon.cpp' || echo './'`lzssdon.cpp +flash.cpp: In member function 'Command::Dpt_Error Flash::Flash_This_HBA(String_List&, std::istream&)': +flash.cpp:1566:9: warning: 'Old_PCI_ID' may be used uninitialized in this function [-Wmaybe-uninitialized] + char Old_PCI_ID, BIOS_rewrite = 0; + ^~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2796,7 +2830,130 @@ dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-lzstrbuf.o `test -f 'lzstrbuf.cpp' || echo './'`lzstrbuf.cpp +In file included from lzstrbuf.cpp:53: +lzstrbuf.h: In constructor 'LzInStreamBuf::LzInStreamBuf(std::istream&)': +lzstrbuf.h:156:19: warning: 'LzInStreamBuf::m_Mask' will be initialized after [-Wreorder] + unsigned char m_Mask; + ^~~~~~ +lzstrbuf.h:152:19: warning: 'long unsigned int LzInStreamBuf::m_Rack' [-Wreorder] + unsigned long m_Rack; + ^~~~~~ +lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] + LzInStreamBuf::LzInStreamBuf( + ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-modnvram.o `test -f 'modnvram.cpp' || echo './'`modnvram.cpp +In file included from listdev.cpp:56: +flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': +flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] + Region m_Region; + ^~~~~~~~ +flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] + const DPT_TAG_T m_Tag; + ^~~~~ +flashmem.h:109:12: warning: when initialized here [-Wreorder] + inline FlashMemory( + ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type, SCSI_Address&)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + list_Type list_What; + ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + SCSI_Address obj_Root; + ^~~~~~~~ +listdev.cpp:85:1: warning: when initialized here [-Wreorder] + List_Device::List_Device( + ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + list_Type list_What; + ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + SCSI_Address obj_Root; + ^~~~~~~~ +listdev.cpp:96:1: warning: when initialized here [-Wreorder] + List_Device::List_Device( list_Type what ): list_What( what ), + ^~~~~~~~~~~ +In file included from listdev.cpp:51: +listdev.hpp: In copy constructor 'List_Device::List_Device(const List_Device&)': +listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] + list_Type list_What; + ^~~~~~~~~ +listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] + SCSI_Address obj_Root; + ^~~~~~~~ +listdev.cpp:105:1: warning: when initialized here [-Wreorder] + List_Device::List_Device( const List_Device &right ): + ^~~~~~~~~~~ +listdev.cpp: In member function 'virtual Command::Dpt_Error List_Device::execute(String_List**)': +listdev.cpp:133:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + else + ^~~~ +listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + switch( list_What ) + ^~~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Log_Devices(String_List&, Command::get_Devs_Type)': +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] + switch( devs_Type ) + ^ +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +listdev.cpp:789:8: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + (engine->devInfo_P->raidParent != -1)) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_LSU_Devices(String_List&)': +listdev.cpp:1030:44: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (engine->devInfo_P->raidParent != -1) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] + switch(dev_Type) + ^ +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +listdev.cpp:1033:13: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Devices(String_List&)': +listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (hba_Tag != -1) + ~~~~~~~~^~~~~ +listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': +listdev.cpp:2003:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + k < sizeof(build) && + ~~^~~~~~~~~~~~~~~ +listdev.cpp:2037:15: warning: deleting 'void*' is undefined [-Wdelete-incomplete] + delete [] saveData; + ^~~~~~~~ +listdev.cpp: In member function 'void List_Device::Show_Cache_Mode(DPT_TAG_T, Command::get_Devs_Type, String_List&)': +listdev.cpp:2251:85: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (((devs_Type == GET_ARRAY) && (i > 0) && (engine->devInfo_P->raidParent == -1)) || + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + ((devs_Type == GET_ARRAY) && (i == 0) && (engine->devInfo_P->raidParent != -1)) || + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -2931,115 +3088,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-namarray.o `test -f 'namarray.cpp' || echo './'`namarray.cpp -In file included from lzstrbuf.cpp:53: -lzstrbuf.h: In constructor 'LzInStreamBuf::LzInStreamBuf(std::istream&)': -lzstrbuf.h:156:19: warning: 'LzInStreamBuf::m_Mask' will be initialized after [-Wreorder] - unsigned char m_Mask; - ^~~~~~ -lzstrbuf.h:152:19: warning: 'long unsigned int LzInStreamBuf::m_Rack' [-Wreorder] - unsigned long m_Rack; - ^~~~~~ -lzstrbuf.cpp:76:1: warning: when initialized here [-Wreorder] - LzInStreamBuf::LzInStreamBuf( - ^~~~~~~~~~~~~ -In file included from listdev.cpp:56: -flashmem.h: In constructor 'FlashMemory::FlashMemory(DPT_EngineIO_C&, DPT_TAG_T, FlashMemory::Region)': -flashmem.h:158:12: warning: 'FlashMemory::m_Region' will be initialized after [-Wreorder] - Region m_Region; - ^~~~~~~~ -flashmem.h:157:21: warning: 'const DPT_TAG_T FlashMemory::m_Tag' [-Wreorder] - const DPT_TAG_T m_Tag; - ^~~~~ -flashmem.h:109:12: warning: when initialized here [-Wreorder] - inline FlashMemory( - ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type, SCSI_Address&)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - list_Type list_What; - ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - SCSI_Address obj_Root; - ^~~~~~~~ -listdev.cpp:85:1: warning: when initialized here [-Wreorder] - List_Device::List_Device( - ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In constructor 'List_Device::List_Device(List_Device::list_Type)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - list_Type list_What; - ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - SCSI_Address obj_Root; - ^~~~~~~~ -listdev.cpp:96:1: warning: when initialized here [-Wreorder] - List_Device::List_Device( list_Type what ): list_What( what ), - ^~~~~~~~~~~ -In file included from listdev.cpp:51: -listdev.hpp: In copy constructor 'List_Device::List_Device(const List_Device&)': -listdev.hpp:140:16: warning: 'List_Device::list_What' will be initialized after [-Wreorder] - list_Type list_What; - ^~~~~~~~~ -listdev.hpp:139:16: warning: 'SCSI_Address List_Device::obj_Root' [-Wreorder] - SCSI_Address obj_Root; - ^~~~~~~~ -listdev.cpp:105:1: warning: when initialized here [-Wreorder] - List_Device::List_Device( const List_Device &right ): - ^~~~~~~~~~~ -listdev.cpp: In member function 'virtual Command::Dpt_Error List_Device::execute(String_List**)': -listdev.cpp:133:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - else - ^~~~ -listdev.cpp:136:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - switch( list_What ) - ^~~~~~ -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Log_Devices(String_List&, Command::get_Devs_Type)': -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] - switch( devs_Type ) - ^ -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_RAID_REDIRECT' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -listdev.cpp:789:8: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -listdev.cpp:815:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - (engine->devInfo_P->raidParent != -1)) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_LSU_Devices(String_List&)': -listdev.cpp:1030:44: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if (engine->devInfo_P->raidParent != -1) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] - switch(dev_Type) - ^ -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -listdev.cpp:1033:13: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -listdev.cpp: In member function 'Command::Dpt_Error List_Device::List_Devices(String_List&)': -listdev.cpp:1109:17: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if (hba_Tag != -1) - ~~~~~~~~^~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3174,20 +3222,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': -listdev.cpp:2003:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - k < sizeof(build) && - ~~^~~~~~~~~~~~~~~ -listdev.cpp:2037:15: warning: deleting 'void*' is undefined [-Wdelete-incomplete] - delete [] saveData; - ^~~~~~~~ -listdev.cpp: In member function 'void List_Device::Show_Cache_Mode(DPT_TAG_T, Command::get_Devs_Type, String_List&)': -listdev.cpp:2251:85: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if (((devs_Type == GET_ARRAY) && (i > 0) && (engine->devInfo_P->raidParent == -1)) || - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -listdev.cpp:2252:86: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - ((devs_Type == GET_ARRAY) && (i == 0) && (engine->devInfo_P->raidParent != -1)) || - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-nvrambit.o `test -f 'nvrambit.cpp' || echo './'`nvrambit.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, @@ -3323,15 +3357,16 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': +listdev.cpp:767:21: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] + temp_Buf[parmLen] = '\0'; + ~~~~~~~~~~~~~~~~^ namarray.cpp: In member function 'virtual Command::Dpt_Error NameArray::execute(String_List**)': namarray.cpp:105:43: warning: 'arrayName' may be used uninitialized in this function [-Wmaybe-uninitialized] engine->Insert(arrayName,strlen(arrayName+1)); ~~~~~~~~~^~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parsargv.o `test -f 'parsargv.cpp' || echo './'`parsargv.cpp -listdev.cpp: In member function 'Command::Dpt_Error List_Device::GetSpeedFromHW(int)': -listdev.cpp:767:21: warning: 'parmLen' may be used uninitialized in this function [-Wmaybe-uninitialized] - temp_Buf[parmLen] = '\0'; - ~~~~~~~~~~~~~~~~^ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3476,23 +3511,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parser.o `test -f 'parser.cpp' || echo './'`parser.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parserr.o `test -f 'parserr.cpp' || echo './'`parserr.cpp -listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': -listdev.cpp:2020:26: warning: '%s' directive writing up to 7 bytes into a region of size between 4 and 6 [-Wformat-overflow=] - sprintf(version, "%d.%c%c%s", sig.dsVersion, sig.dsRevision, - ^~~~~~~~~~~ - sig.dsSubRevision, build); - ~~~~~ -In file included from /usr/include/stdio.h:873, - from debug.hpp:53, - from command.hpp:56, - from listdev.cpp:50: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3632,6 +3650,23 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-parserr.o `test -f 'parserr.cpp' || echo './'`parserr.cpp +listdev.cpp: In member function 'void List_Device::GetSmorBiosSignatures(DPT_TAG_T, String_List&)': +listdev.cpp:2020:26: warning: '%s' directive writing up to 7 bytes into a region of size between 4 and 6 [-Wformat-overflow=] + sprintf(version, "%d.%c%c%s", sig.dsVersion, sig.dsRevision, + ^~~~~~~~~~~ + sig.dsSubRevision, build); + ~~~~~ +In file included from /usr/include/stdio.h:873, + from debug.hpp:53, + from command.hpp:56, + from listdev.cpp:50: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 10 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-raidutil.o `test -f 'raidutil.cpp' || echo './'`raidutil.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3766,7 +3801,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-raidutil.o `test -f 'raidutil.cpp' || echo './'`raidutil.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -3919,32 +3953,14 @@ raidutil.cpp:466:17: warning: unused variable 'key' [-Wunused-variable] int key = getchar(); ^~~ -In file included from parser.cpp:70: -eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, - ^~~~~~~~~~~~~~~~~~~ -eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] - static void DoTime(uLONG ti, uSHORT level, String_List *out); - ^~~~~~ -eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] - static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); - ^~~~~~~~~~~~~~~~~~~~~ -eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] - static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); - ^~~~~~~ -eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] - static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); - ^~~~~~~ -eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] - static int bufcat(String_List *out, char *source, ...); - ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rawdata.o `test -f 'rawdata.cpp' || echo './'`rawdata.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from rdutlosd.cpp:50: + from command.hpp:57, + from rawdata.hpp:53, + from rawdata.cpp:50: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -3967,7 +3983,9 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from rdutlosd.cpp:50: + from command.hpp:57, + from rawdata.hpp:53, + from rawdata.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -3990,7 +4008,9 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from rdutlosd.cpp:50: + from command.hpp:57, + from rawdata.hpp:53, + from rawdata.cpp:50: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4022,7 +4042,9 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from rdutlosd.cpp:50: + from command.hpp:57, + from rawdata.hpp:53, + from rawdata.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4045,7 +4067,9 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from rdutlosd.cpp:50: + from command.hpp:57, + from rawdata.hpp:53, + from rawdata.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4064,13 +4088,38 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +In file included from parser.cpp:70: +eventlog.hpp:67:13: warning: 'void GetSesTypeAndStatus(uCHAR, char*, uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + static void GetSesTypeAndStatus(uCHAR SesType, char *TypeString, + ^~~~~~~~~~~~~~~~~~~ +eventlog.hpp:69:13: warning: 'void DoTime(uLONG, uSHORT, String_List*)' declared 'static' but never defined [-Wunused-function] + static void DoTime(uLONG ti, uSHORT level, String_List *out); + ^~~~~~ +eventlog.hpp:70:13: warning: 'void GetGen5HbaErrorString(uCHAR, char*)' declared 'static' but never defined [-Wunused-function] + static void GetGen5HbaErrorString(uCHAR ErrorCode, char *ErrorString); + ^~~~~~~~~~~~~~~~~~~~~ +eventlog.hpp:71:13: warning: 'void DoBytes(uSHORT, uCHAR*, String_List*)' declared 'static' but never defined [-Wunused-function] + static void DoBytes (uSHORT numbytes, uCHAR *bytes, String_List *out); + ^~~~~~~ +eventlog.hpp:72:13: warning: 'void DoLongs(uSHORT, uLONG*, String_List*)' declared 'static' but never defined [-Wunused-function] + static void DoLongs (uSHORT numlongs, uLONG *longs, String_List *out); + ^~~~~~~ +eventlog.hpp:73:12: warning: 'int bufcat(String_List*, char*, ...)' declared 'static' but never defined [-Wunused-function] + static int bufcat(String_List *out, char *source, ...); + ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rdutlosd.o `test -f 'rdutlosd.cpp' || echo './'`rdutlosd.cpp +rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': +rawdata.cpp:87:37: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] + memset(rtnBuff,NULL,sizeof(rtnBuff)); + ^ +rawdata.cpp:127:41: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] + memset(rtnBuff,NULL,sizeof(rtnBuff)); + ^ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from command.hpp:57, - from rawdata.hpp:53, - from rawdata.cpp:50: + from rdutlosd.cpp:50: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4093,9 +4142,7 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from command.hpp:57, - from rawdata.hpp:53, - from rawdata.cpp:50: + from rdutlosd.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4118,9 +4165,7 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from command.hpp:57, - from rawdata.hpp:53, - from rawdata.cpp:50: + from rdutlosd.cpp:50: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4152,9 +4197,7 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from command.hpp:57, - from rawdata.hpp:53, - from rawdata.cpp:50: + from rdutlosd.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4177,9 +4220,7 @@ from ./dpt_info.h:54, from ../include/dpt_api.h:69, from engiface.hpp:54, - from command.hpp:57, - from rawdata.hpp:53, - from rawdata.cpp:50: + from rdutlosd.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -4198,19 +4239,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp rdutlosd.cpp: In function 'unsigned int* Load_Engine(DPT_RTN_T (**)(DPT_TAG_T, DPT_MSG_T, DPT_TAG_T, void*, void*, uLONG))': rdutlosd.cpp:108:9: warning: unused variable 'fname_and_Path_Buf' [-Wunused-variable] char fname_and_Path_Buf[ 256 ]; ^~~~~~~~~~~~~~~~~~ -rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': -rawdata.cpp:87:37: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] - memset(rtnBuff,NULL,sizeof(rtnBuff)); - ^ -rawdata.cpp:127:41: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] - memset(rtnBuff,NULL,sizeof(rtnBuff)); - ^ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rmwflash.o `test -f 'rmwflash.cpp' || echo './'`rmwflash.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4345,6 +4378,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-rstnvram.o `test -f 'rstnvram.cpp' || echo './'`rstnvram.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4484,12 +4519,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -parser.cpp: In constructor 'Parser::Parser(char*, bool*)': -parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - segOffset[ct] = currSegOffset; - ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-scsilist.o `test -f 'scsilist.cpp' || echo './'`scsilist.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp In file included from ../include/get_info.h:364, from trapdef.h:52, from log_core.hpp:55, @@ -4609,6 +4638,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setcache.o `test -f 'setcache.cpp' || echo './'`setcache.cpp +parser.cpp: In constructor 'Parser::Parser(char*, bool*)': +parser.cpp:1940:23: warning: 'currSegOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + segOffset[ct] = currSegOffset; + ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4718,6 +4752,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setrate.o `test -f 'setrate.cpp' || echo './'`setrate.cpp In file included from ../include/get_info.h:862, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4743,7 +4778,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setrate.o `test -f 'setrate.cpp' || echo './'`setrate.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4873,24 +4908,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': -setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if ((devs_Type != GET_SCSI_DASD) && - ^~ -setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - engine->Reset(); - ^~~~~~ -setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if ((tempTag == -1) && (!err.Is_Error())) - ~~~~~~~~^~~~~ -setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': -setrate.cpp:173:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (devs_Type == GET_RAID_HOT_SPARE) - ^~ -setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if ((devs_Type != GET_SCSI_HBA) && - ^~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setspeed.o `test -f 'setspeed.cpp' || echo './'`setspeed.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -4996,6 +5013,16 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +setcache.cpp: In member function 'virtual Command::Dpt_Error SetCache::execute(String_List**)': +setcache.cpp:128:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if ((devs_Type != GET_SCSI_DASD) && + ^~ +setcache.cpp:131:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + engine->Reset(); + ^~~~~~ +setcache.cpp:134:26: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if ((tempTag == -1) && (!err.Is_Error())) + ~~~~~~~~^~~~~ In file included from ../include/get_info.h:862, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5020,7 +5047,15 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': +setrate.cpp:173:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (devs_Type == GET_RAID_HOT_SPARE) + ^~ +setrate.cpp:176:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if ((devs_Type != GET_SCSI_HBA) && + ^~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-showinq.o `test -f 'showinq.cpp' || echo './'`showinq.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-status.o `test -f 'status.cpp' || echo './'`status.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5150,35 +5185,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -showinq.cpp: In member function 'Command::Dpt_Error Show_Inquiry::Show_Inq_on_This_Dev(String_List&, DPT_TAG_T, Command::get_Devs_Type)': -showinq.cpp:195:9: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] - switch( devs_Type ) - ^ -showinq.cpp:195:9: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -showinq.cpp:171:9: warning: variable 'address_Buf' set but not used [-Wunused-but-set-variable] - char address_Buf[ BUF_LEN ]; - ^~~~~~~~~~~ -showinq.cpp:172:9: warning: variable 'vendor_Product_Info_Buf' set but not used [-Wunused-but-set-variable] - char vendor_Product_Info_Buf[ BUF_LEN ]; - ^~~~~~~~~~~~~~~~~~~~~~~ -showinq.cpp:173:9: warning: variable 'bus_Type_and_Address_Buf' set but not used [-Wunused-but-set-variable] - char bus_Type_and_Address_Buf[ BUF_LEN ]; - ^~~~~~~~~~~~~~~~~~~~~~~~ -showinq.cpp:174:9: warning: variable 'fw_Revision_Buf' set but not used [-Wunused-but-set-variable] - char fw_Revision_Buf[ BUF_LEN ]; - ^~~~~~~~~~~~~~~ -showinq.cpp:176:10: warning: variable 'raid_Type_Ptr' set but not used [-Wunused-but-set-variable] - char *raid_Type_Ptr = 0; - ^~~~~~~~~~~~~ -showinq.cpp:177:9: warning: variable 'show_Capacity' set but not used [-Wunused-but-set-variable] - bool show_Capacity = false; - ^~~~~~~~~~~~~ -showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] - long capacity_in_Mb; - ^~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-status.o `test -f 'status.cpp' || echo './'`status.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-strlist.o `test -f 'strlist.cpp' || echo './'`strlist.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-taskctrl.o `test -f 'taskctrl.cpp' || echo './'`taskctrl.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5313,6 +5319,39 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-strlist.o `test -f 'strlist.cpp' || echo './'`strlist.cpp +showinq.cpp: In member function 'Command::Dpt_Error Show_Inquiry::Show_Inq_on_This_Dev(String_List&, DPT_TAG_T, Command::get_Devs_Type)': +showinq.cpp:195:9: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] + switch( devs_Type ) + ^ +showinq.cpp:195:9: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +showinq.cpp:171:9: warning: variable 'address_Buf' set but not used [-Wunused-but-set-variable] + char address_Buf[ BUF_LEN ]; + ^~~~~~~~~~~ +showinq.cpp:172:9: warning: variable 'vendor_Product_Info_Buf' set but not used [-Wunused-but-set-variable] + char vendor_Product_Info_Buf[ BUF_LEN ]; + ^~~~~~~~~~~~~~~~~~~~~~~ +showinq.cpp:173:9: warning: variable 'bus_Type_and_Address_Buf' set but not used [-Wunused-but-set-variable] + char bus_Type_and_Address_Buf[ BUF_LEN ]; + ^~~~~~~~~~~~~~~~~~~~~~~~ +showinq.cpp:174:9: warning: variable 'fw_Revision_Buf' set but not used [-Wunused-but-set-variable] + char fw_Revision_Buf[ BUF_LEN ]; + ^~~~~~~~~~~~~~~ +showinq.cpp:176:10: warning: variable 'raid_Type_Ptr' set but not used [-Wunused-but-set-variable] + char *raid_Type_Ptr = 0; + ^~~~~~~~~~~~~ +showinq.cpp:177:9: warning: variable 'show_Capacity' set but not used [-Wunused-but-set-variable] + bool show_Capacity = false; + ^~~~~~~~~~~~~ +showinq.cpp:178:9: warning: variable 'capacity_in_Mb' set but not used [-Wunused-but-set-variable] + long capacity_in_Mb; + ^~~~~~~~~~~~~~ +status.cpp: In member function 'Dpt_Status::operator char*()': +status.cpp:873:59: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + (Command::engine->devInfo_P->raidParent != -1)) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-taskctrl.o `test -f 'taskctrl.cpp' || echo './'`taskctrl.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-uartdmp.o `test -f 'uartdmp.cpp' || echo './'`uartdmp.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5447,11 +5486,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-uartdmp.o `test -f 'uartdmp.cpp' || echo './'`uartdmp.cpp -status.cpp: In member function 'Dpt_Status::operator char*()': -status.cpp:873:59: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - (Command::engine->devInfo_P->raidParent != -1)) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-usage.o `test -f 'usage.cpp' || echo './'`usage.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5586,49 +5621,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -In file included from taskctrl.cpp:52: -taskctrl.hpp: In constructor 'TaskControl::TaskControl(SCSI_Addr_List*, TaskCommandOptions)': -taskctrl.hpp:76:19: warning: 'TaskControl::raidsToCtrl' will be initialized after [-Wreorder] - SCSI_Addr_List *raidsToCtrl; - ^~~~~~~~~~~ -taskctrl.hpp:75:22: warning: 'TaskCommandOptions TaskControl::taskCmd' [-Wreorder] - TaskCommandOptions taskCmd; - ^~~~~~~ -taskctrl.cpp:70:1: warning: when initialized here [-Wreorder] - TaskControl::TaskControl( - ^~~~~~~~~~~ -taskctrl.cpp: In member function 'virtual Command::Dpt_Error TaskControl::execute(String_List**)': -taskctrl.cpp:127:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if (parentTag == -1) - ~~~~~~~~~~^~~~~ -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] - switch (devs_Type) - ^ -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': -taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (Buffer, sizeof(Buffer), stdin); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-usage.o `test -f 'usage.cpp' || echo './'`usage.cpp -uartdmp.cpp: In member function 'Command::Dpt_Error UartDmp::ViewUartDmp(String_List*, DPT_TAG_T)': -uartdmp.cpp:240:25: warning: comparison of integer expressions of different signedness: 'int' and 'uLONG' {aka 'long unsigned int'} [-Wsign-compare] - for (int i = 0; i < bytesSent; i++) - ~~^~~~~~~~~~~ In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5763,8 +5755,49 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +In file included from taskctrl.cpp:52: +taskctrl.hpp: In constructor 'TaskControl::TaskControl(SCSI_Addr_List*, TaskCommandOptions)': +taskctrl.hpp:76:19: warning: 'TaskControl::raidsToCtrl' will be initialized after [-Wreorder] + SCSI_Addr_List *raidsToCtrl; + ^~~~~~~~~~~ +taskctrl.hpp:75:22: warning: 'TaskCommandOptions TaskControl::taskCmd' [-Wreorder] + TaskCommandOptions taskCmd; + ^~~~~~~ +taskctrl.cpp:70:1: warning: when initialized here [-Wreorder] + TaskControl::TaskControl( + ^~~~~~~~~~~ +taskctrl.cpp: In member function 'virtual Command::Dpt_Error TaskControl::execute(String_List**)': +taskctrl.cpp:127:35: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (parentTag == -1) + ~~~~~~~~~~^~~~~ +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_DASD' not handled in switch [-Wswitch] + switch (devs_Type) + ^ +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_RAID_HOT_SPARE' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +taskctrl.cpp:119:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +taskctrl.cpp: In member function 'Command::Dpt_Error TaskControl::ControlEachArray(DPT_TAG_T, String_List*)': +taskctrl.cpp:363:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (Buffer, sizeof(Buffer), stdin); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +uartdmp.cpp: In member function 'Command::Dpt_Error UartDmp::ViewUartDmp(String_List*, DPT_TAG_T)': +uartdmp.cpp:240:25: warning: comparison of integer expressions of different signedness: 'int' and 'uLONG' {aka 'long unsigned int'} [-Wsign-compare] + for (int i = 0; i < bytesSent; i++) + ~~^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-zap.o `test -f 'zap.cpp' || echo './'`zap.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setscfg.o `test -f 'setscfg.cpp' || echo './'`setscfg.cpp In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -5899,6 +5932,9 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-setscfg.o `test -f 'setscfg.cpp' || echo './'`setscfg.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-segment.o `test -f 'segment.cpp' || echo './'`segment.cpp +gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -6033,53 +6069,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -zap.cpp: In member function 'void Zap::AddRaid(Int_List*, DPT_TAG_T)': -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - switch ( devs_Type ) - ^ -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -zap.cpp:135:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -zap.cpp: In member function 'virtual Command::Dpt_Error Zap::execute(String_List**)': -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] - switch ( devs_Type ) - ^ -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] -zap.cpp:189:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] -zap.cpp:252:47: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - if (engine->devInfo_P->raidParent != -1) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -zap.cpp:216:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (Buffer, sizeof(Buffer), stdin); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -zap.cpp:284:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (Buffer, sizeof(Buffer), stdin); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-segment.o `test -f 'segment.cpp' || echo './'`segment.cpp -gcc -DHAVE_CONFIG_H -I. -I.. -O3 -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -D_DPT_FLASH -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raidutil-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c In file included from ../include/get_info.h:364, from ./dpt_info.h:54, from ../include/dpt_api.h:69, @@ -6214,6 +6203,51 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +zap.cpp: In member function 'void Zap::AddRaid(Int_List*, DPT_TAG_T)': +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + switch ( devs_Type ) + ^ +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +zap.cpp:135:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +zap.cpp: In member function 'virtual Command::Dpt_Error Zap::execute(String_List**)': +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SASD' not handled in switch [-Wswitch] + switch ( devs_Type ) + ^ +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRINTER' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PROCESSOR' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_WORM' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_CD_ROM' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_SCANNER' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_OPTICAL' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_JUKEBOX' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_ROOT' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_PRO_CONNECTION' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_HBA' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_SCSI_BCD' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_RAID_BCD' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_ARRAY' not handled in switch [-Wswitch] +zap.cpp:189:11: warning: enumeration value 'GET_ARRAYNAME' not handled in switch [-Wswitch] +zap.cpp:252:47: warning: comparison of integer expressions of different signedness: 'DPT_TAG_T' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + if (engine->devInfo_P->raidParent != -1) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +zap.cpp:216:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (Buffer, sizeof(Buffer), stdin); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +zap.cpp:284:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (Buffer, sizeof(Buffer), stdin); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ segment.cpp: In constructor 'arraySegment::arraySegment(SCSI_Address, uLONG*, uLONG*, bool)': segment.cpp:64:46: warning: 'sizeof' on array function parameter 'segSize' will return size of 'uLONG*' {aka 'long unsigned int*'} [-Wsizeof-array-argument] memcpy(segSizeArray,segSize, (sizeof(segSize)*ARRAY_SEGMENTS_MAX)); @@ -6234,7 +6268,7 @@ segment.cpp:118:8: warning: variable 'lastValidSegment' set but not used [-Wunused-but-set-variable] uLONG lastValidSegment; ^~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raidutil raidutil-alarm.o raidutil-bufiolsb.o raidutil-cmdlist.o raidutil-command.o raidutil-config.o raidutil-creatrad.o raidutil-deletrad.o raidutil-dynsize.o raidutil-engiface.o raidutil-eventlog.o raidutil-expand.o raidutil-flash.o raidutil-flashmem.o raidutil-forcest.o raidutil-id_list.o raidutil-intlist.o raidutil-listdev.o raidutil-lzssdon.o raidutil-lzstrbuf.o raidutil-modnvram.o raidutil-namarray.o raidutil-nvrambit.o raidutil-parsargv.o raidutil-parser.o raidutil-parserr.o raidutil-raidutil.o raidutil-rawdata.o raidutil-rdutlosd.o raidutil-rmwflash.o raidutil-rstnvram.o raidutil-scsilist.o raidutil-setcache.o raidutil-setrate.o raidutil-setspeed.o raidutil-showinq.o raidutil-status.o raidutil-strlist.o raidutil-taskctrl.o raidutil-uartdmp.o raidutil-usage.o raidutil-zap.o raidutil-setscfg.o raidutil-segment.o raidutil-swap_em.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raidutil' Making all in raideng @@ -6246,7 +6280,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_ccb.o `test -f 'core_ccb.cpp' || echo './'`core_ccb.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from connect.cpp:50: + from core.cpp:49: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6267,7 +6301,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from connect.cpp:50: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6288,7 +6322,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from connect.cpp:50: + from core.cpp:49: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6318,7 +6352,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from connect.cpp:50: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6339,7 +6373,7 @@ ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from connect.cpp:50: + from core.cpp:49: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6360,7 +6394,7 @@ ^~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core.cpp:49: + from connect.cpp:50: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6381,7 +6415,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core.cpp:49: + from connect.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6402,7 +6436,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core.cpp:49: + from connect.cpp:50: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6432,7 +6466,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core.cpp:49: + from connect.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6451,9 +6485,10 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_con.o `test -f 'core_con.cpp' || echo './'`core_con.cpp In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core.cpp:49: + from connect.cpp:50: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6474,7 +6509,7 @@ ^~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core_con.cpp:45: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6495,7 +6530,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core_con.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6516,7 +6551,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_ccb.cpp:45: + from core_con.cpp:45: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6546,28 +6581,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_ccb.cpp:45: -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' - dptCaddr_S maxAddr PACK_A; // Maximum physical address supported - ^~~~~~ -../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] - # define PACK __attribute__ ((packed)) - ^ -../include/get_info.h:381:17: note: in expansion of macro 'PACK' - # define PACK_A PACK - ^~~~ -../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' - dptCaddr_S minAddr PACK_A; // Minimum physical address supported - ^~~~~~ -In file included from ../include/get_info.h:862, - from allfiles.hpp:112, - from core_ccb.cpp:45: + from core_con.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6586,12 +6600,9 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_con.o `test -f 'core_con.cpp' || echo './'`core_con.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_dev.o `test -f 'core_dev.cpp' || echo './'`core_dev.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_mgr.o `test -f 'core_mgr.cpp' || echo './'`core_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_con.cpp:45: + from core_ccb.cpp:45: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6610,7 +6621,7 @@ ../include/device.hh:55:26: note: in expansion of macro 'PACK_A' dptCemuParam_S emulation PACK_A; // Emulated drive parameters ^~~~~~ -In file included from ../include/get_info.h:771, +In file included from ../include/get_info.h:862, from allfiles.hpp:112, from core_con.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] @@ -6631,9 +6642,30 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +In file included from ../include/get_info.h:771, + from allfiles.hpp:112, + from core_ccb.cpp:45: +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/mgr.hh:37:23: note: in expansion of macro 'PACK_A' + dptCaddr_S maxAddr PACK_A; // Maximum physical address supported + ^~~~~~ +../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] + # define PACK __attribute__ ((packed)) + ^ +../include/get_info.h:381:17: note: in expansion of macro 'PACK' + # define PACK_A PACK + ^~~~ +../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' + dptCaddr_S minAddr PACK_A; // Minimum physical address supported + ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_con.cpp:45: + from core_ccb.cpp:45: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6663,7 +6695,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_con.cpp:45: + from core_ccb.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6684,7 +6716,7 @@ ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core_con.cpp:45: + from core_ccb.cpp:45: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6703,9 +6735,10 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_dev.o `test -f 'core_dev.cpp' || echo './'`core_dev.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_mgr.cpp:46: + from core_dev.cpp:46: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6726,7 +6759,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core_mgr.cpp:46: + from core_dev.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6747,7 +6780,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_mgr.cpp:46: + from core_dev.cpp:46: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6777,7 +6810,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_mgr.cpp:46: + from core_dev.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6798,7 +6831,7 @@ ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core_mgr.cpp:46: + from core_dev.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6817,9 +6850,13 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_mgr.o `test -f 'core_mgr.cpp' || echo './'`core_mgr.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_obj.o `test -f 'core_obj.cpp' || echo './'`core_obj.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-device.o `test -f 'device.cpp' || echo './'`device.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_dev.cpp:46: + from core_obj.cpp:46: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6840,7 +6877,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core_dev.cpp:46: + from core_obj.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6861,7 +6898,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_dev.cpp:46: + from core_obj.cpp:46: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6891,7 +6928,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_dev.cpp:46: + from core_obj.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6912,7 +6949,7 @@ ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core_dev.cpp:46: + from core_obj.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6931,12 +6968,9 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-core_obj.o `test -f 'core_obj.cpp' || echo './'`core_obj.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-debug.o `test -f 'debug.cpp' || echo './'`debug.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-device.o `test -f 'device.cpp' || echo './'`device.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, - from core_obj.cpp:46: + from core_mgr.cpp:46: ../include/device.hh:40:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6957,7 +6991,7 @@ ^~~~~~ In file included from ../include/get_info.h:771, from allfiles.hpp:112, - from core_obj.cpp:46: + from core_mgr.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -6978,7 +7012,7 @@ ^~~~~~ In file included from ../include/get_info.h:772, from allfiles.hpp:112, - from core_obj.cpp:46: + from core_mgr.cpp:46: ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -7008,7 +7042,7 @@ ^~~~~~ In file included from ../include/get_info.h:838, from allfiles.hpp:112, - from core_obj.cpp:46: + from core_mgr.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -7029,7 +7063,7 @@ ^~~~~~ In file included from ../include/get_info.h:862, from allfiles.hpp:112, - from core_obj.cpp:46: + from core_mgr.cpp:46: ../include/mgr.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -7048,8 +7082,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-dptcbuff.o `test -f 'dptcbuff.c' || echo './'`dptcbuff.c -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-driver.o `test -f 'driver.cpp' || echo './'`driver.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from device.cpp:46: @@ -7164,6 +7196,13 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-dptcbuff.o `test -f 'dptcbuff.c' || echo './'`dptcbuff.c +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-driver.o `test -f 'driver.cpp' || echo './'`driver.cpp +device.cpp: In member function 'DPT_RTN_T dptDevice_C::fmtHandler(dptBuffer_S*, dptBuffer_S*)': +device.cpp:3753:15: warning: unused variable 'is_Cheetah' [-Wunused-variable] + int is_Cheetah = FALSE; + ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eata2i2o.o `test -f 'eata2i2o.c' || echo './'`eata2i2o.c In file included from ../include/get_info.h:364, from allfiles.hpp:112, from driver.cpp:47: @@ -7278,11 +7317,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eata2i2o.o `test -f 'eata2i2o.c' || echo './'`eata2i2o.c -device.cpp: In member function 'DPT_RTN_T dptDevice_C::fmtHandler(dptBuffer_S*, dptBuffer_S*)': -device.cpp:3753:15: warning: unused variable 'is_Cheetah' [-Wunused-variable] - int is_Cheetah = FALSE; - ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_sig.o `test -f 'eng_sig.c' || echo './'`eng_sig.c eng_sig.c:64:23: warning: missing braces around initializer [-Wmissing-braces] dpt_sig_S engineSig = { 'd','P','t','S','i','G', SIG_VERSION, @@ -7405,6 +7439,7 @@ ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-eng_unix.o `test -f 'eng_unix.cpp' || echo './'`eng_unix.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-engine.o `test -f 'engine.cpp' || echo './'`engine.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-englists.o `test -f 'englists.cpp' || echo './'`englists.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from engine.cpp:49: @@ -7519,11 +7554,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -eng_unix.cpp: In function 'uSHORT ParseCommandLine(int, char**)': -eng_unix.cpp:768:18: warning: comparison of integer expressions of different signedness: 'uINT' {aka 'unsigned int'} and 'int' [-Wsign-compare] - for(i = 1; i < argc; ++i) - ~~^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-englists.o `test -f 'englists.cpp' || echo './'`englists.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from englists.cpp:50: @@ -7638,7 +7668,14 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +eng_unix.cpp: In function 'uSHORT ParseCommandLine(int, char**)': +eng_unix.cpp:768:18: warning: comparison of integer expressions of different signedness: 'uINT' {aka 'unsigned int'} and 'int' [-Wsign-compare] + for(i = 1; i < argc; ++i) + ~~^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-gbl_fns.o `test -f 'gbl_fns.cpp' || echo './'`gbl_fns.cpp +engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' + extern "C" dpt_sig_S const *engineSig_P = &engineSig; + ^~~~~~~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, from gbl_fns.cpp:51: @@ -7753,10 +7790,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -engine.cpp:108:29: warning: 'engineSig_P' initialized and declared 'extern' - extern "C" dpt_sig_S const *engineSig_P = &engineSig; - ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-hba.o `test -f 'hba.cpp' || echo './'`hba.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from hba.cpp:46: @@ -7871,7 +7906,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-manager.o `test -f 'manager.cpp' || echo './'`manager.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-msg_str.o `test -f 'msg_str.cpp' || echo './'`msg_str.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-object.o `test -f 'object.cpp' || echo './'`object.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from manager.cpp:47: @@ -7986,8 +8022,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-msg_str.o `test -f 'msg_str.cpp' || echo './'`msg_str.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-object.o `test -f 'object.cpp' || echo './'`object.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from object.cpp:45: @@ -8117,18 +8151,11 @@ hba.cpp:3681:17: warning: unused variable 'inq_P' [-Wunused-variable] sdInquiry_S *inq_P = (sdInquiry_S *) ccb_P->defData; ^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-osd_unix.o `test -f 'osd_unix.cpp' || echo './'`osd_unix.cpp object.cpp: In member function 'DPT_RTN_T dptObject_C::modeLogSense(dptBuffer_S*, dptBuffer_S*, uSHORT)': object.cpp:458:10: warning: unused variable 'unused' [-Wunused-variable] uCHAR unused = 0; ^~~~~~ -object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': -object.cpp:771:26: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] - uSHORT i,startOffset,numLongs; - ^~~~~~~~ -object.cpp:771:14: warning: 'startOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] - uSHORT i,startOffset,numLongs; - ^~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-osd_unix.o `test -f 'osd_unix.cpp' || echo './'`osd_unix.cpp In file included from ../include/get_info.h:364, from ./dptcbuff.h:30, from osd_unix.cpp:110: @@ -8279,6 +8306,13 @@ osd_unix.cpp:248:14: warning: 'DebugFileName' defined but not used [-Wunused-variable] static char *DebugFileName = "EngLog"; ^~~~~~~~~~~~~ +object.cpp: In member function 'DPT_RTN_T dptObject_C::addRWstats(uLONG*, uCHAR)': +object.cpp:771:26: warning: 'numLongs' may be used uninitialized in this function [-Wmaybe-uninitialized] + uSHORT i,startOffset,numLongs; + ^~~~~~~~ +object.cpp:771:14: warning: 'startOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] + uSHORT i,startOffset,numLongs; + ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-ptrarray.o `test -f 'ptrarray.cpp' || echo './'`ptrarray.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid.o `test -f 'raid.cpp' || echo './'`raid.cpp In file included from ../include/get_info.h:364, @@ -8626,6 +8660,7 @@ dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_hba.o `test -f 'raid_hba.cpp' || echo './'`raid_hba.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_mgr.o `test -f 'raid_mgr.cpp' || echo './'`raid_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from raid_hba.cpp:49: @@ -8740,11 +8775,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -raid_bcd.cpp: In member function 'virtual uSHORT dptRAIDbcd_C::findMyPhysicals()': -raid_bcd.cpp:603:11: warning: variable 'maxID' set but not used [-Wunused-but-set-variable] - uCHAR maxID,maxChan; - ^~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-raid_mgr.o `test -f 'raid_mgr.cpp' || echo './'`raid_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from raid_mgr.cpp:46: @@ -8808,6 +8838,10 @@ ../include/hba.hh:43:19: note: in expansion of macro 'PACK_A' dptHBAid_U id PACK_A; // EISA = ID PAL bytes ^~~~~~ +raid_bcd.cpp: In member function 'virtual uSHORT dptRAIDbcd_C::findMyPhysicals()': +raid_bcd.cpp:603:11: warning: variable 'maxID' set but not used [-Wunused-but-set-variable] + uCHAR maxID,maxChan; + ^~~~~ ../include/hba.hh:32:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] # define PACK __attribute__ ((packed)) ^ @@ -8881,7 +8915,6 @@ ../include/device.hh:55:26: note: in expansion of macro 'PACK_A' dptCemuParam_S emulation PACK_A; // Emulated drive parameters ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_bcd.o `test -f 'scsi_bcd.cpp' || echo './'`scsi_bcd.cpp In file included from ../include/get_info.h:771, from allfiles.hpp:112, from raiddrvr.cpp:46: @@ -8975,6 +9008,8 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_bcd.o `test -f 'scsi_bcd.cpp' || echo './'`scsi_bcd.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_bcd.cpp:49: @@ -9089,8 +9124,6 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_ccb.o `test -f 'scsi_ccb.cpp' || echo './'`scsi_ccb.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_con.o `test -f 'scsi_con.cpp' || echo './'`scsi_con.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_ccb.cpp:46: @@ -9205,6 +9238,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_con.o `test -f 'scsi_con.cpp' || echo './'`scsi_con.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_con.cpp:49: @@ -9434,12 +9468,7 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ -scsi_con.cpp: In member function 'DPT_RTN_T dptSCSIcon_C::rtnIDfromASCII(dptBuffer_S*, dptBuffer_S*, uSHORT)': -scsi_con.cpp:322:24: warning: 'in_P' may be used uninitialized in this function [-Wmaybe-uninitialized] - if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) - ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_hba.o `test -f 'scsi_hba.cpp' || echo './'`scsi_hba.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_mgr.o `test -f 'scsi_mgr.cpp' || echo './'`scsi_mgr.cpp In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_hba.cpp:50: @@ -9554,6 +9583,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsi_mgr.o `test -f 'scsi_mgr.cpp' || echo './'`scsi_mgr.cpp +scsi_con.cpp: In member function 'DPT_RTN_T dptSCSIcon_C::rtnIDfromASCII(dptBuffer_S*, dptBuffer_S*, uSHORT)': +scsi_con.cpp:322:24: warning: 'in_P' may be used uninitialized in this function [-Wmaybe-uninitialized] + if (findSubString(in_P,search_P,inLimit,searchLimit,searchType)) + ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsi_mgr.cpp:49: @@ -9783,16 +9817,11 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsidrvr.o `test -f 'scsidrvr.cpp' || echo './'`scsidrvr.cpp scsi_hba.cpp: In member function 'virtual DPT_RTN_T dptSCSIhba_C::rtnInfo(dptBuffer_S*)': scsi_hba.cpp:429:10: warning: unused variable 'insertStart' [-Wunused-variable] uLONG insertStart = fromEng_P->writeIndex; ^~~~~~~~~~~ -scsi_obj.cpp: In member function 'virtual DPT_RTN_T dptSCSIobj_C::rtnConfigInfo(dptBuffer_S*)': -scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] - int oldidx; - ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-scsidrvr.o `test -f 'scsidrvr.cpp' || echo './'`scsidrvr.cpp -gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-semaphor.o `test -f 'semaphor.c' || echo './'`semaphor.c In file included from ../include/get_info.h:364, from allfiles.hpp:112, from scsidrvr.cpp:50: @@ -9907,15 +9936,20 @@ ../include/mgr.hh:38:23: note: in expansion of macro 'PACK_A' dptCaddr_S minAddr PACK_A; // Minimum physical address supported ^~~~~~ +scsi_obj.cpp: In member function 'virtual DPT_RTN_T dptSCSIobj_C::rtnConfigInfo(dptBuffer_S*)': +scsi_obj.cpp:426:17: warning: variable 'oldidx' set but not used [-Wunused-but-set-variable] + int oldidx; + ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-semaphor.o `test -f 'semaphor.c' || echo './'`semaphor.c g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-stat_log.o `test -f 'stat_log.cpp' || echo './'`stat_log.cpp gcc -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-swap_em.o `test -f 'swap_em.c' || echo './'`swap_em.c +g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-threads.o `test -f 'threads.cpp' || echo './'`threads.cpp swap_em.c: In function 'trueSwap2': swap_em.c:202:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ -g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-threads.o `test -f 'threads.cpp' || echo './'`threads.cpp g++ -DHAVE_CONFIG_H -I. -I.. -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -c -o raideng-unreslvd.o `test -f 'unreslvd.cpp' || echo './'`unreslvd.cpp -/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la +/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z,relro -Wl,-z,now -o raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/libraidutil.la libtool: link: g++ -g -O2 -ffile-prefix-map=/build/raidutils-0.0.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-write-strings -Wno-comments -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/raideng raideng-addr_rng.o raideng-array.o raideng-connect.o raideng-core.o raideng-core_ccb.o raideng-core_con.o raideng-core_dev.o raideng-core_mgr.o raideng-core_obj.o raideng-debug.o raideng-device.o raideng-dptcbuff.o raideng-driver.o raideng-eata2i2o.o raideng-eng_sig.o raideng-eng_std.o raideng-eng_unix.o raideng-engine.o raideng-englists.o raideng-gbl_fns.o raideng-hba.o raideng-manager.o raideng-msg_str.o raideng-object.o raideng-osd_unix.o raideng-ptrarray.o raideng-raid.o raideng-raid_bcd.o raideng-raid_dev.o raideng-raid_hba.o raideng-raid_mgr.o raideng-raiddrvr.o raideng-scsi_bcd.o raideng-scsi_ccb.o raideng-scsi_con.o raideng-scsi_dev.o raideng-scsi_hba.o raideng-scsi_mgr.o raideng-scsi_obj.o raideng-scsidrvr.o raideng-semaphor.o raideng-stat_log.o raideng-swap_em.o raideng-threads.o raideng-unreslvd.o ../lib/.libs/libraidutil.so make[3]: Leaving directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6' @@ -9923,7 +9957,7 @@ make[2]: Leaving directory '/build/raidutils-0.0.6' make[1]: Leaving directory '/build/raidutils-0.0.6' dh_auto_test - make -j3 check VERBOSE=1 + make -j4 check VERBOSE=1 make[1]: Entering directory '/build/raidutils-0.0.6' Making check in lib make[2]: Entering directory '/build/raidutils-0.0.6/lib' @@ -9952,7 +9986,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/lib' make[3]: Entering directory '/build/raidutils-0.0.6/lib' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' - /bin/bash ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' + /bin/sh ../libtool --mode=install /usr/bin/install -c libraidutil.la '/build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/libraidutil.so.0.0.0 /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libraidutil.so.0.0.0 libraidutil.so.0 || { rm -f libraidutil.so.0 && ln -s libraidutil.so.0.0.0 libraidutil.so.0; }; }) libtool: install: (cd /build/raidutils-0.0.6/debian/tmp/usr/lib/arm-linux-gnueabihf && { ln -s -f libraidutil.so.0.0.0 libraidutil.so || { rm -f libraidutil.so && ln -s libraidutil.so.0.0.0 libraidutil.so; }; }) @@ -9968,7 +10002,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/raidutil' make[3]: Entering directory '/build/raidutils-0.0.6/raidutil' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raidutil '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/raidutil /build/raidutils-0.0.6/debian/tmp/usr/sbin/raidutil make[3]: Nothing to be done for 'install-data-am'. @@ -9978,7 +10012,7 @@ make[2]: Entering directory '/build/raidutils-0.0.6/raideng' make[3]: Entering directory '/build/raidutils-0.0.6/raideng' /bin/mkdir -p '/build/raidutils-0.0.6/debian/tmp/usr/sbin' - /bin/bash ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' + /bin/sh ../libtool --mode=install /usr/bin/install -c raideng '/build/raidutils-0.0.6/debian/tmp/usr/sbin' libtool: warning: '../lib/libraidutil.la' has not been installed in '/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/raideng /build/raidutils-0.0.6/debian/tmp/usr/sbin/raideng make[3]: Nothing to be done for 'install-data-am'. @@ -10009,17 +10043,17 @@ dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: debian/dpt-i2o-raidutils/usr/sbin/raidutil contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin -dpkg-shlibdeps: warning: symbol osdSwap2 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries -dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries -dpkg-shlibdeps: warning: symbol osdSwap4 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: debian/dpt-i2o-raidutils/usr/sbin/raideng contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin +dpkg-shlibdeps: warning: symbol osdSwap4 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries +dpkg-shlibdeps: warning: symbol Argv used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries +dpkg-shlibdeps: warning: symbol osdSwap2 used by debian/dpt-i2o-raidutils/usr/lib/arm-linux-gnueabihf/libraidutil.so.0.0.0 found in none of the libraries dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package raidutils: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb -dpkg-deb: building package 'raidutils' in '../raidutils_0.0.6-22_all.deb'. dpkg-deb: building package 'dpt-i2o-raidutils-dbgsym' in '../dpt-i2o-raidutils-dbgsym_0.0.6-22_armhf.deb'. +dpkg-deb: building package 'raidutils' in '../raidutils_0.0.6-22_all.deb'. dpkg-deb: building package 'dpt-i2o-raidutils' in '../dpt-i2o-raidutils_0.0.6-22_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../raidutils_0.0.6-22_armhf.changes @@ -10027,12 +10061,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/25190/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/21706 and its subdirectories -I: Current time: Sat Jun 6 03:49:54 -12 2020 -I: pbuilder-time-stamp: 1591458594 +I: removing directory /srv/workspace/pbuilder/25190 and its subdirectories +I: Current time: Sun Jun 7 05:53:59 +14 2020 +I: pbuilder-time-stamp: 1591458839