Diff of the two buildlogs: -- --- b1/build.log 2024-10-13 01:07:12.268225104 +0000 +++ b2/build.log 2024-10-13 01:07:51.486555181 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 14 19:29:39 -12 2025 -I: pbuilder-time-stamp: 1763191779 +I: Current time: Sun Oct 13 15:07:15 +14 2024 +I: pbuilder-time-stamp: 1728781635 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying exitcode I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2961008/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 13 01:07 /bin/sh -> /bin/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/2021597/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2054dacfc52240c1bae4203c8e2694db' - 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='2961008' - PS1='# ' - PS2='> ' + INVOCATION_ID=a44b08afb1a24a8e8cc48ac8c72a0dd7 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=2021597 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/r-b-build.diF7ss3d/pbuilderrc_FBNS --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.diF7ss3d/b1 --logfile b1/build.log minisat+_1.0-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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/r-b-build.diF7ss3d/pbuilderrc_dc3B --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.diF7ss3d/b2 --logfile b2/build.log minisat+_1.0-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2961008/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -146,7 +178,7 @@ Get: 30 http://deb.debian.org/debian trixie/main arm64 libgmpxx4ldbl arm64 2:6.3.0+dfsg-2+b1 [329 kB] Get: 31 http://deb.debian.org/debian trixie/main arm64 libgmp-dev arm64 2:6.3.0+dfsg-2+b1 [619 kB] Get: 32 http://deb.debian.org/debian trixie/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1 [916 kB] -Fetched 21.3 MB in 0s (82.2 MB/s) +Fetched 21.3 MB in 0s (87.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19897 files and directories currently installed.) @@ -289,7 +321,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/minisat+-1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../minisat+_1.0-5_source.changes +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/minisat+-1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../minisat+_1.0-5_source.changes dpkg-buildpackage: info: source package minisat+ dpkg-buildpackage: info: source version 1.0-5 dpkg-buildpackage: info: source distribution unstable @@ -315,11 +351,15 @@ make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/minisat+-1.0' Making dependencies... -Building minisat+ (standard) Compiling: Debug.C +Building minisat+ (standard) Compiling: Hardware_adders.C Compiling: Hardware_clausify.C Compiling: Hardware_sorters.C +Compiling: Main.C +Compiling: MiniSat.C +Compiling: PbParser.C +Compiling: PbSolver.C In file included from Solver.h:24, from PbSolver.h:23, from Debug.h:24, @@ -327,25 +367,9 @@ SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from Hardware.h:24, - from Hardware_adders.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ @@ -355,7 +379,7 @@ In file included from Solver.h:24, from PbSolver.h:23, from Hardware.h:24, - from Hardware_clausify.C:20: + from Hardware_adders.C:20: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ @@ -368,7 +392,6 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -Compiling: Main.C In file included from Solver.h:24, from PbSolver.h:23, from Hardware.h:24, @@ -385,26 +408,6 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -Compiling: MiniSat.C -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -Compiling: PbParser.C -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:24, from PbSolver.h:23, from Main.C:31: @@ -435,48 +438,70 @@ Main.C:273:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 273 | reportf("inspects : %-12"I64_fmt" (%.0f /sec)\n", stats.inspects , stats.inspects /cpu_time); | ^ -Compiling: PbSolver.C -In file included from ADTs/Map.h:29, - from PbSolver.h:24: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -PbSolver.h:99:41: required from here - 99 | , best_goalvalue(Int_MAX) - | ^ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld -In file included from ADTs/Map.h:29, - from ADTs/FEnv.h:30, - from Hardware.h:23: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -PbSolver.h:99:41: required from here - 99 | , best_goalvalue(Int_MAX) - | ^ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld +Compiling: PbSolver_convert.C +In file included from Solver.h:24, + from PbSolver.h:23, + from Hardware.h:24, + from Hardware_clausify.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:24, + from PbSolver.h:23, + from PbParser.h:23, + from PbParser.C:20: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Compiling: PbSolver_convertAdd.C In file included from Main.C:30: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:24, + from PbSolver.h:23, + from Debug.h:24, + from PbSolver.C:22: +SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ +SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); + | ^ +SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); + | ^ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] @@ -490,15 +515,18 @@ SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling: PbSolver_convert.C +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling: PbSolver_convertAdd.C +Compiling: PbSolver_convertBdd.C In file included from ADTs/Map.h:29, - from ADTs/FEnv.h:30, - from Hardware.h:23: + from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -514,40 +542,24 @@ | %ld In file included from Solver.h:24, from PbSolver.h:23, - from PbParser.h:23, - from PbParser.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -In file included from Solver.h:24, - from PbSolver.h:23, - from Debug.h:24, - from PbSolver.C:22: + from PbSolver_convert.C:20: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); | ^ -SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -SatELite.h:522:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 522 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ -SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); - | ^ -Compiling: PbSolver_convertBdd.C +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ +In file included from PbSolver.C:20: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ Compiling: PbSolver_convertSort.C In file included from ADTs/Map.h:29, - from PbSolver.h:24: + from ADTs/FEnv.h:30, + from Hardware.h:23: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -561,12 +573,6 @@ | | | | int long unsigned int | %ld -In file included from Solver.h:24, - from PbSolver.h:23, - from PbSolver_convert.C:20: -SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); - | ^ SatELite.h:515:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 515 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ @@ -576,6 +582,10 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from ADTs/FEnv.h:30, from Hardware.h:23: @@ -592,16 +602,30 @@ | | | | int long unsigned int | %ld +In file included from ADTs/Map.h:29, + from PbSolver.h:24: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +PbSolver.h:99:41: required from here + 99 | , best_goalvalue(Int_MAX) + | ^ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ -In file included from PbSolver.C:20: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:24, from PbSolver.h:23, from PbSolver_convertAdd.C:20: @@ -617,15 +641,6 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -In file included from MiniSat.C:20: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) @@ -650,6 +665,58 @@ MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ +In file included from ADTs/Map.h:29, + from PbSolver.h:24: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +PbSolver.h:99:41: required from here + 99 | , best_goalvalue(Int_MAX) + | ^ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map >::Cell; int chunk_size = 100]': +ADTs/Map.h:120:51: required from 'Map::Map(const D&) [with K = int; D = Pair; Par = Hash_params]' + 120 | Map(const D& null) : D_null(null) { init(1); } + | ^ +PbSolver.C:148:57: required from here + 148 | Map > var2consts(Pair_new(0,0)); // Variable -> negative/positive polarity constant + | ^ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ADTs/Map.h:29, + from PbSolver.h:24: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +PbSolver.h:99:41: required from here + 99 | , best_goalvalue(Int_MAX) + | ^ +ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); + | ~^ ~~~~~~~~~ + | | | + | int long unsigned int + | %ld +In file included from MiniSat.C:20: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:24, from PbSolver.h:23, from PbSolver_convertSort.C:20: @@ -665,30 +732,14 @@ SatELite.h:528:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 528 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT":%c", L_lit(c[i]), name(S.value(c[i]))); | ^ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ -In file included from Solver.h:23: -MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': -MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 52 | float& activity (void) const { return *((float*)&data[size()]); } - | ~^~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SatELite.h: In member function 'float& SatELite::Clause::activity() const': -SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, - from PbSolver.h:24: + from ADTs/FEnv.h:30, + from Hardware.h:23: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' 119 | Map(void) : D_null() { init(1); } @@ -702,30 +753,24 @@ | | | | int long unsigned int | %ld +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Solver.h:23: MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 52 | float& activity (void) const { return *((float*)&data[size()]); } | ~^~~~~~~~~~~~~~~~~~~~~~ -In file included from ADTs/Map.h:29, - from PbSolver.h:24: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -PbSolver.h:99:41: required from here - 99 | , best_goalvalue(Int_MAX) - | ^ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from Solver.h:23: +MiniSat.h: In member function 'float& MiniSat::Clause::activity() const': +MiniSat.h:52:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 52 | float& activity (void) const { return *((float*)&data[size()]); } + | ~^~~~~~~~~~~~~~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -752,13 +797,23 @@ ADTs/StackAlloc.h:83:26: warning: deleting object of polymorphic class type 'StackAlloc' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 83 | tmp = ptr->prev, delete ptr, ptr = tmp; | ^~~~~~~~~~ -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map >::Cell; int chunk_size = 100]': -ADTs/Map.h:120:51: required from 'Map::Map(const D&) [with K = int; D = Pair; Par = Hash_params]' - 120 | Map(const D& null) : D_null(null) { init(1); } - | ^ -PbSolver.C:148:57: required from here - 148 | Map > var2consts(Pair_new(0,0)); // Variable -> negative/positive polarity constant - | ^ +SatELite.h: In member function 'float& SatELite::Clause::activity() const': +SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +PbSolver_convertAdd.C: In function 'void lte(vec&, vec&, vec&)': +PbSolver_convertAdd.C:43:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 43 | c = c | x ^ y; + | ~~^~~ +In file included from ADTs/Map.h:29, + from PbSolver.h:24: +ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': +ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' + 119 | Map(void) : D_null() { init(1); } + | ^ +PbSolver.h:99:41: required from here + 99 | , best_goalvalue(Int_MAX) + | ^ ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); | ~^ ~~~~~~~~~ @@ -780,6 +835,7 @@ | | | | int long unsigned int | %ld +Compiling: SatELite.C ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map, Formula>::Cell; int chunk_size = 100]': ADTs/Map.h:119:47: required from 'Map::Map() [with K = Pair; D = Formula; Par = Hash_params >]' 119 | Map(void) : D_null() { init(1); } @@ -793,17 +849,6 @@ | | | | int long unsigned int | %ld -PbSolver_convertAdd.C: In function 'void lte(vec&, vec&, vec&)': -PbSolver_convertAdd.C:43:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 43 | c = c | x ^ y; - | ~~^~~ -MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': -MiniSat.C:65:21: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] - 65 | if (&out_clause != NULL) out_clause = NULL; - | ^ -MiniSat.C:59:67: note: 'out_clause' declared here - 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) - | ~~~~~~~~~^~~~~~~~~~ In file included from ADTs/Map.h:29, from PbSolver.h:24: ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': @@ -819,6 +864,13 @@ | | | | int long unsigned int | %ld +MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': +MiniSat.C:65:21: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] + 65 | if (&out_clause != NULL) out_clause = NULL; + | ^ +MiniSat.C:59:67: note: 'out_clause' declared here + 59 | bool Solver::newClause(const vec& ps_, bool learnt, Clause*& out_clause) + | ~~~~~~~~~^~~~~~~~~~ MiniSat.C:135:25: warning: the compiler can assume that the address of 'out_clause' will never be NULL [-Waddress] 135 | if (&out_clause != NULL) out_clause = c; | ^ @@ -842,29 +894,6 @@ MiniSat.C:388:17: note: in expansion of macro 'REMOVABLE_LIT' 388 | REMOVABLE_LIT(c[i]); | ^~~~~~~~~~~~~ -In file included from ADTs/Map.h:29, - from PbSolver.h:24: -ADTs/VecAlloc.h: In instantiation of 'VecAlloc::~VecAlloc() [with T = Map::Cell; int chunk_size = 100]': -ADTs/Map.h:119:47: required from 'Map::Map() [with K = const char*; D = int; Par = Hash_params]' - 119 | Map(void) : D_null() { init(1); } - | ^ -PbSolver.h:99:41: required from here - 99 | , best_goalvalue(Int_MAX) - | ^ -ADTs/VecAlloc.h:41:99: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 41 | if (nallocs != 0) fprintf(stderr, "WARNING! VecAlloc detected leak of %d unit(s) of size %d.\n", nallocs, sizeof(T)); - | ~^ ~~~~~~~~~ - | | | - | int long unsigned int - | %ld -Compiling: SatELite.C -MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': -MiniSat.C:135:9: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] - 135 | if (&out_clause != NULL) out_clause = c; - | ^~ -MiniSat.C:65:5: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] - 65 | if (&out_clause != NULL) out_clause = NULL; - | ^~ In file included from SatELite.C:26: SatELite.h:509:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 509 | for (int i = 0; i < c.size(); i++) fprintf(out, " "L_LIT, L_lit(c[i])); @@ -898,6 +927,13 @@ SatELite.C:2373:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2373 | printf("asymmetricBranching("L_LIT" @ %d)\n", L_lit(p), level[var(p)]); | ^ +MiniSat.C: In member function 'bool MiniSat::Solver::newClause(const vec&, bool, MiniSat::Clause*&)': +MiniSat.C:135:9: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] + 135 | if (&out_clause != NULL) out_clause = c; + | ^~ +MiniSat.C:65:5: warning: 'nonnull' argument 'out_clause' compared to NULL [-Wnonnull-compare] + 65 | if (&out_clause != NULL) out_clause = NULL; + | ^~ SatELite.h: In member function 'float& SatELite::Clause::activity() const': SatELite.h:152:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 152 | float& activity (void) const { assert(learnt()); return *((float*)&ptr_->data[size()]); } // (learnt clauses only) @@ -918,6 +954,7 @@ | | | | int long unsigned int | %ld +Compiling: ADTs/File.C SatELite.C: In function 'FILE* SatELite::createTmpFile(cchar*, cchar*, char*&)': SatELite.C:172:19: warning: the compiler can assume that the address of 'out_name' will never be NULL [-Waddress] 172 | if (&out_name != NULL) out_name = name; @@ -962,7 +999,6 @@ SatELite.C:2205:94: note: 'new_clauses' declared here 2205 | int Solver::substitute(Lit x, Clause def, vec& poss, vec& negs, vec& new_clauses = *(vec*)NULL) | ^ -Compiling: ADTs/File.C SatELite.C: In member function 'void SatELite::Solver::subsume0(SatELite::Clause, int&)': SatELite.C:1694:9: warning: 'nonnull' argument 'counter' compared to NULL [-Wnonnull-compare] 1694 | if (&counter != NULL) counter++; @@ -1075,12 +1111,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2021597/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2021597/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/2961008 and its subdirectories -I: Current time: Fri Nov 14 19:30:10 -12 2025 -I: pbuilder-time-stamp: 1763191810 +I: removing directory /srv/workspace/pbuilder/2021597 and its subdirectories +I: Current time: Sun Oct 13 15:07:50 +14 2024 +I: pbuilder-time-stamp: 1728781670