Diff of the two buildlogs: -- --- b1/build.log 2024-05-18 17:22:44.915646950 +0000 +++ b2/build.log 2024-05-18 17:28:21.941301471 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 18 05:16:53 -12 2024 -I: pbuilder-time-stamp: 1716052613 +I: Current time: Sat Jun 21 13:45:46 +14 2025 +I: pbuilder-time-stamp: 1750463146 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying 40_Fix_Precedence.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2153372/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1375693/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Jun 20 23:45 /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/1375693/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1375693/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='1fa00e56f5f94da3b23ca6b590573828' - 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='2153372' - PS1='# ' - PS2='> ' + INVOCATION_ID=10a27431f8bf4f288903a2ccb9af2ab0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=1375693 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.8y58FfS0/pbuilderrc_nH2Q --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8y58FfS0/b1 --logfile b1/build.log liborigin2_20110117-6.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.8y58FfS0/pbuilderrc_uICa --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8y58FfS0/b2 --logfile b2/build.log liborigin2_20110117-6.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 17 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2153372/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 19 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1375693/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -304,7 +336,7 @@ Get: 181 http://deb.debian.org/debian unstable/main amd64 qt5-qmake amd64 5.15.10+dfsg-7.2+b1 [223 kB] Get: 182 http://deb.debian.org/debian unstable/main amd64 qtbase5-dev-tools amd64 5.15.10+dfsg-7.2+b1 [760 kB] Get: 183 http://deb.debian.org/debian unstable/main amd64 qtbase5-dev amd64 5.15.10+dfsg-7.2+b1 [1122 kB] -Fetched 109 MB in 4s (30.5 MB/s) +Fetched 109 MB in 3s (34.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19718 files and directories currently installed.) @@ -903,8 +935,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat May 18 17:19:56 UTC 2024. -Universal Time is now: Sat May 18 17:19:56 UTC 2024. +Local time is now: Fri Jun 20 23:47:40 UTC 2025. +Universal Time is now: Fri Jun 20 23:47:40 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libboost-serialization1.83.0:amd64 (1.83.0-2.1+b1) ... @@ -1067,7 +1099,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/liborigin2-20110117/ && 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 > ../liborigin2_20110117-6_source.changes +I: user script /srv/workspace/pbuilder/1375693/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1375693/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/liborigin2-20110117/ && 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 > ../liborigin2_20110117-6_source.changes dpkg-buildpackage: info: source package liborigin2 dpkg-buildpackage: info: source version 2:20110117-6 dpkg-buildpackage: info: source distribution unstable @@ -1094,7 +1130,7 @@ Info: creating stash file /build/reproducible-path/liborigin2-20110117/.qmake.stash make[1]: Leaving directory '/build/reproducible-path/liborigin2-20110117' dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/liborigin2-20110117' g++ -c -pipe -g -g -O2 -ffile-prefix-map=/build/reproducible-path/liborigin2-20110117=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tmp/OriginFile.o OriginFile.cpp g++ -c -pipe -g -g -O2 -ffile-prefix-map=/build/reproducible-path/liborigin2-20110117=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tmp/OriginParser.o OriginParser.cpp @@ -1112,8 +1148,7 @@ from OriginParser.h:32, from Origin750Parser.h:34, from Origin800Parser.h:32, - from Origin610Parser.h:32, - from Origin610Parser.cpp:29: + from Origin800Parser.cpp:29: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ @@ -1121,12 +1156,8 @@ from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from OriginObj.h:37, - from OriginParser.h:32, - from Origin750Parser.h:34, - from Origin800Parser.h:32, - from Origin610Parser.h:32, - from Origin600Parser.h:32, - from Origin600Parser.cpp:29: + from OriginFile.h:37, + from OriginFile.cpp:30: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ @@ -1158,19 +1189,6 @@ OriginObj.h:171:17: warning: when initialized here [-Wreorder] 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from Origin750Parser.h:34, - from Origin800Parser.h:32, - from Origin610Parser.h:32, - from Origin700Parser.h:32, - from Origin700Parser.cpp:30: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -1219,16 +1237,6 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from Origin750Parser.h:34, - from Origin750Parser.cpp:30: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] 750 | string name; @@ -1239,25 +1247,14 @@ OriginObj.h:754:17: warning: when initialized here [-Wreorder] 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) | ^~~~~~~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginFile.h:37, - from OriginFile.cpp:30: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from OriginDefaultParser.h:33, - from OriginDefaultParser.cpp:30: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1286,14 +1283,6 @@ OriginObj.h:171:17: warning: when initialized here [-Wreorder] 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~~~~~ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -1342,6 +1331,95 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from OriginParser.cpp:29: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from Origin750Parser.h:34, + from Origin800Parser.h:32, + from Origin810Parser.h:32, + from Origin810Parser.cpp:29: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from Origin750Parser.h:34, + from Origin750Parser.cpp:30: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from Origin750Parser.h:34, + from Origin800Parser.h:32, + from Origin610Parser.h:32, + from Origin600Parser.h:32, + from Origin600Parser.cpp:29: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from Origin750Parser.h:34, + from Origin800Parser.h:32, + from Origin610Parser.h:32, + from Origin610Parser.cpp:29: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from Origin750Parser.h:34, + from Origin800Parser.h:32, + from Origin610Parser.h:32, + from Origin700Parser.h:32, + from Origin700Parser.cpp:30: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/boost/type_index.hpp:25, + from /usr/include/boost/variant/variant.hpp:21, + from /usr/include/boost/variant.hpp:17, + from OriginObj.h:37, + from OriginParser.h:32, + from OriginDefaultParser.h:33, + from OriginDefaultParser.cpp:30: +/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' + 36 | BOOST_PRAGMA_MESSAGE( + | ^~~~~~~~~~~~~~~~~~~~ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1418,26 +1496,6 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1494,14 +1552,20 @@ OriginObj.h:237:17: warning: when initialized here [-Wreorder] 237 | Matrix(const string& _name = "", unsigned int _index = 0) | ^~~~~~ -OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': -OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] - 167 | unsigned int index; - | ^~~~~ OriginObj.h: In constructor 'Origin::Function::Function(const std::string&, unsigned int)': OriginObj.h:262:30: warning: 'Origin::Function::index' will be initialized after [-Wreorder] 262 | unsigned int index; | ^~~~~ +OriginObj.h:257:30: warning: 'Origin::Function::FunctionType Origin::Function::type' [-Wreorder] + 257 | FunctionType type; + | ^~~~ +OriginObj.h:264:17: warning: when initialized here [-Wreorder] + 264 | Function(const string& _name = "", unsigned int _index = 0) + | ^~~~~~~~ +OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': +OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] + 167 | unsigned int index; + | ^~~~~ OriginObj.h:164:24: warning: 'std::string Origin::SpreadColumn::command' [-Wreorder] 164 | string command; | ^~~~~~~ @@ -1526,12 +1590,6 @@ OriginObj.h:171:17: warning: when initialized here [-Wreorder] 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~~~~~ -OriginObj.h:257:30: warning: 'Origin::Function::FunctionType Origin::Function::type' [-Wreorder] - 257 | FunctionType type; - | ^~~~ -OriginObj.h:264:17: warning: when initialized here [-Wreorder] - 264 | Function(const string& _name = "", unsigned int _index = 0) - | ^~~~~~~~ OriginObj.h: In constructor 'Origin::Bitmap::Bitmap(const std::string&)': OriginObj.h:617:32: warning: 'Origin::Bitmap::data' will be initialized after [-Wreorder] 617 | unsigned char* data; @@ -1542,6 +1600,16 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -1590,18 +1658,6 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from Origin750Parser.h:34, - from Origin800Parser.h:32, - from Origin810Parser.h:32, - from Origin810Parser.cpp:29: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] 750 | string name; @@ -1622,17 +1678,6 @@ OriginObj.h:754:17: warning: when initialized here [-Wreorder] 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) | ^~~~~~~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from Origin750Parser.h:34, - from Origin800Parser.h:32, - from Origin800Parser.cpp:29: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1709,49 +1754,6 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ -In file included from /usr/include/boost/type_index.hpp:25, - from /usr/include/boost/variant/variant.hpp:21, - from /usr/include/boost/variant.hpp:17, - from OriginObj.h:37, - from OriginParser.h:32, - from OriginParser.cpp:29: -/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' - 36 | BOOST_PRAGMA_MESSAGE( - | ^~~~~~~~~~~~~~~~~~~~ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1780,6 +1782,44 @@ OriginObj.h:171:17: warning: when initialized here [-Wreorder] 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~~~~~ +OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': +OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] + 167 | unsigned int index; + | ^~~~~ +OriginObj.h:164:24: warning: 'std::string Origin::SpreadColumn::command' [-Wreorder] + 164 | string command; + | ^~~~~~~ +OriginObj.h:171:17: warning: when initialized here [-Wreorder] + 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) + | ^~~~~~~~~~~~ +OriginObj.h:165:24: warning: 'Origin::SpreadColumn::comment' will be initialized after [-Wreorder] + 165 | string comment; + | ^~~~~~~ +OriginObj.h:159:27: warning: 'Origin::ValueType Origin::SpreadColumn::valueType' [-Wreorder] + 159 | ValueType valueType; + | ^~~~~~~~~ +OriginObj.h:171:17: warning: when initialized here [-Wreorder] + 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) + | ^~~~~~~~~~~~ +OriginObj.h:166:21: warning: 'Origin::SpreadColumn::width' will be initialized after [-Wreorder] + 166 | int width; + | ^~~~~ +OriginObj.h:163:36: warning: 'Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType' [-Wreorder] + 163 | NumericDisplayType numericDisplayType; + | ^~~~~~~~~~~~~~~~~~ +OriginObj.h:171:17: warning: when initialized here [-Wreorder] + 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) + | ^~~~~~~~~~~~ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -1828,86 +1868,6 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ -In file included from OriginFile.cpp:35: -./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': -./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] - 150 | virtual bool operator==(const qualifier &q) { return false; } - | ~~~~~~~~~~~~~~~~~^ -./logging.hpp: At global scope: -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' - 199 | std::string to_string(level_t l) - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:210:19: note: by 'std::string boost::logging::filename_element::to_string(const std::string&)' - 210 | std::string to_string(const std::string &f) { return f; } - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:217:19: note: by 'std::string boost::logging::line_element::to_string(unsigned int)' - 217 | std::string to_string(unsigned int l) - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' - 248 | std::string to_string(const std::string& s) { return s; }; - | ^~~~~~~~~ -./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': -./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 349 | if (s) - | ^ -OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': -OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] - 167 | unsigned int index; - | ^~~~~ -OriginObj.h:164:24: warning: 'std::string Origin::SpreadColumn::command' [-Wreorder] - 164 | string command; - | ^~~~~~~ -OriginObj.h:171:17: warning: when initialized here [-Wreorder] - 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) - | ^~~~~~~~~~~~ -OriginObj.h:165:24: warning: 'Origin::SpreadColumn::comment' will be initialized after [-Wreorder] - 165 | string comment; - | ^~~~~~~ -OriginObj.h:159:27: warning: 'Origin::ValueType Origin::SpreadColumn::valueType' [-Wreorder] - 159 | ValueType valueType; - | ^~~~~~~~~ -OriginObj.h:171:17: warning: when initialized here [-Wreorder] - 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) - | ^~~~~~~~~~~~ -OriginObj.h:166:21: warning: 'Origin::SpreadColumn::width' will be initialized after [-Wreorder] - 166 | int width; - | ^~~~~ -OriginObj.h:163:36: warning: 'Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType' [-Wreorder] - 163 | NumericDisplayType numericDisplayType; - | ^~~~~~~~~~~~~~~~~~ -OriginObj.h:171:17: warning: when initialized here [-Wreorder] - 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) - | ^~~~~~~~~~~~ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -1956,10 +1916,50 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ -./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': -./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] - 521 | const log_param_t &log_param) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ OriginObj.h: In constructor 'Origin::SpreadColumn::SpreadColumn(const std::string&, unsigned int)': OriginObj.h:167:30: warning: 'Origin::SpreadColumn::index' will be initialized after [-Wreorder] 167 | unsigned int index; @@ -1988,16 +1988,14 @@ OriginObj.h:171:17: warning: when initialized here [-Wreorder] 171 | SpreadColumn(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~~~~~ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ OriginObj.h: In constructor 'Origin::Matrix::Matrix(const std::string&, unsigned int)': OriginObj.h:230:30: warning: 'Origin::Matrix::sheets' will be initialized after [-Wreorder] 230 | unsigned int sheets; @@ -2036,11 +2034,6 @@ OriginObj.h:264:17: warning: when initialized here [-Wreorder] 264 | Function(const string& _name = "", unsigned int _index = 0) | ^~~~~~~~ -In file included from Origin750Parser.cpp:35: -./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': -./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] - 150 | virtual bool operator==(const qualifier &q) { return false; } - | ~~~~~~~~~~~~~~~~~^ OriginObj.h: In constructor 'Origin::Bitmap::Bitmap(const std::string&)': OriginObj.h:617:32: warning: 'Origin::Bitmap::data' will be initialized after [-Wreorder] 617 | unsigned char* data; @@ -2051,6 +2044,76 @@ OriginObj.h:619:17: warning: when initialized here [-Wreorder] 619 | Bitmap(const string& _name = "") | ^~~~~~ +OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': +OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] + 750 | string name; + | ^~~~ +OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] + 749 | NodeType type; + | ^~~~ +OriginObj.h:754:17: warning: when initialized here [-Wreorder] + 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) + | ^~~~~~~~~~~ +In file included from Origin750Parser.h:35: +endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': +endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 220 | register int i = 0; + | ^ +endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 221 | register int j = size - 1; + | ^ +In file included from Origin800Parser.cpp:34: +./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': +./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] + 150 | virtual bool operator==(const qualifier &q) { return false; } + | ~~~~~~~~~~~~~~~~~^ +./logging.hpp: At global scope: +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' + 199 | std::string to_string(level_t l) + | ^~~~~~~~~ +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:210:19: note: by 'std::string boost::logging::filename_element::to_string(const std::string&)' + 210 | std::string to_string(const std::string &f) { return f; } + | ^~~~~~~~~ +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:217:19: note: by 'std::string boost::logging::line_element::to_string(unsigned int)' + 217 | std::string to_string(unsigned int l) + | ^~~~~~~~~ +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' + 248 | std::string to_string(const std::string& s) { return s; }; + | ^~~~~~~~~ +./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': +./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 349 | if (s) + | ^ +OriginParser.cpp: In member function 'std::pair > OriginParser::findObjectByIndex(unsigned int) const': +OriginParser.cpp:142:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] + 142 | if(it->objectID == index) + | ~~~~~~~~~~~~~^~~~~~~~ +OriginParser.cpp:148:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] + 148 | if(it->objectID == index) + | ~~~~~~~~~~~~~^~~~~~~~ +OriginParser.cpp:154:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] + 154 | if(it->objectID == index) + | ~~~~~~~~~~~~~^~~~~~~~ +OriginParser.cpp:160:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] + 160 | if(it->objectID == index){ + | ~~~~~~~~~~~~~^~~~~~~~ +In file included from OriginFile.cpp:35: +./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': +./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] + 150 | virtual bool operator==(const qualifier &q) { return false; } + | ~~~~~~~~~~~~~~~~~^ ./logging.hpp: At global scope: ./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] 191 | virtual std::string to_string() { assert(0); return ""; }; @@ -2080,46 +2143,15 @@ ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 349 | if (s) | ^ -OriginObj.h: In constructor 'Origin::ProjectNode::ProjectNode(const std::string&, NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)': -OriginObj.h:750:24: warning: 'Origin::ProjectNode::name' will be initialized after [-Wreorder] - 750 | string name; - | ^~~~ -OriginObj.h:749:26: warning: 'Origin::ProjectNode::NodeType Origin::ProjectNode::type' [-Wreorder] - 749 | NodeType type; - | ^~~~ -OriginObj.h:754:17: warning: when initialized here [-Wreorder] - 754 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime()) - | ^~~~~~~~~~~ -In file included from Origin750Parser.h:35: -endianfstream.hh: In member function 'void std::iendianfstream::swap_bytes(unsigned char*, int)': -endianfstream.hh:220:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 220 | register int i = 0; - | ^ -endianfstream.hh:221:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 221 | register int j = size - 1; - | ^ ./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': ./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] 521 | const log_param_t &log_param) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -Origin750Parser.cpp: In member function 'virtual bool Origin750Parser::parse()': -Origin750Parser.cpp:301:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 301 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) +Origin800Parser.cpp: In member function 'virtual bool Origin800Parser::parse()': +Origin800Parser.cpp:314:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 314 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin750Parser.cpp:446:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 446 | if(findSpreadByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin750Parser.cpp:448:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 448 | else if(findMatrixByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin750Parser.cpp:450:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 450 | else if(findExcelByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin750Parser.cpp: In member function 'void Origin750Parser::readGraphInfo()': -Origin750Parser.cpp:1792:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] - 1792 | if(h >= 0x64 && h < 0x1F4){ - | ~~^~~~~~~ -In file included from Origin610Parser.cpp:34: +In file included from Origin600Parser.cpp:34: ./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] 150 | virtual bool operator==(const qualifier &q) { return false; } @@ -2153,7 +2185,20 @@ ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 349 | if (s) | ^ -In file included from OriginDefaultParser.cpp:37: +Origin800Parser.cpp:449:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 449 | if(findSpreadByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin800Parser.cpp:451:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 451 | else if(findMatrixByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin800Parser.cpp:453:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 453 | else if(findExcelByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': +./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] + 521 | const log_param_t &log_param) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +In file included from Origin750Parser.cpp:35: ./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] 150 | virtual bool operator==(const qualifier &q) { return false; } @@ -2183,6 +2228,10 @@ ./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' 248 | std::string to_string(const std::string& s) { return s; }; | ^~~~~~~~~ +Origin800Parser.cpp: In member function 'void Origin800Parser::readMatrixInfo()': +Origin800Parser.cpp:1045:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1045 | for (int i = 0; i < matrixes[idx].sheets; i++) + | ~~^~~~~~~~~~~~~~~~~~~~~~ ./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 349 | if (s) @@ -2191,24 +2240,7 @@ ./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] 521 | const log_param_t &log_param) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -Origin610Parser.cpp: In member function 'virtual bool Origin610Parser::parse()': -Origin610Parser.cpp:299:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 299 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -OriginParser.cpp: In member function 'std::pair > OriginParser::findObjectByIndex(unsigned int) const': -OriginParser.cpp:142:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] - 142 | if(it->objectID == index) - | ~~~~~~~~~~~~~^~~~~~~~ -OriginParser.cpp:148:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] - 148 | if(it->objectID == index) - | ~~~~~~~~~~~~~^~~~~~~~ -OriginParser.cpp:154:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] - 154 | if(it->objectID == index) - | ~~~~~~~~~~~~~^~~~~~~~ -OriginParser.cpp:160:33: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] - 160 | if(it->objectID == index){ - | ~~~~~~~~~~~~~^~~~~~~~ -In file included from Origin800Parser.cpp:34: +In file included from Origin700Parser.cpp:36: ./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] 150 | virtual bool operator==(const qualifier &q) { return false; } @@ -2220,7 +2252,40 @@ ./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' 199 | std::string to_string(level_t l) | ^~~~~~~~~ -In file included from Origin600Parser.cpp:34: +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:210:19: note: by 'std::string boost::logging::filename_element::to_string(const std::string&)' + 210 | std::string to_string(const std::string &f) { return f; } + | ^~~~~~~~~ +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:217:19: note: by 'std::string boost::logging::line_element::to_string(unsigned int)' + 217 | std::string to_string(unsigned int l) + | ^~~~~~~~~ +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' + 248 | std::string to_string(const std::string& s) { return s; }; + | ^~~~~~~~~ +./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': +./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 349 | if (s) + | ^ +Origin800Parser.cpp: In member function 'void Origin800Parser::readGraphInfo()': +Origin800Parser.cpp:1711:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] + 1711 | if(h >= 0x64 && h < 0x1F4){ + | ~~^~~~~~~ +Origin800Parser.cpp:1899:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1899 | if(newSize != size) + | ~~~~~~~~^~~~~~~ +Origin800Parser.cpp: In member function 'bool Origin800Parser::findSection(const std::string&, int, int)': +Origin800Parser.cpp:2051:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 2051 | while(pos < maxLength){ + | ~~~~^~~~~~~~~~~ +In file included from Origin810Parser.cpp:34: ./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] 150 | virtual bool operator==(const qualifier &q) { return false; } @@ -2229,6 +2294,9 @@ ./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] 191 | virtual std::string to_string() { assert(0); return ""; }; | ^~~~~~~~~ +./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' + 199 | std::string to_string(level_t l) + | ^~~~~~~~~ ./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] 191 | virtual std::string to_string() { assert(0); return ""; }; | ^~~~~~~~~ @@ -2241,15 +2309,28 @@ ./logging.hpp:217:19: note: by 'std::string boost::logging::line_element::to_string(unsigned int)' 217 | std::string to_string(unsigned int l) | ^~~~~~~~~ -./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' - 199 | std::string to_string(level_t l) - | ^~~~~~~~~ ./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] 191 | virtual std::string to_string() { assert(0); return ""; }; | ^~~~~~~~~ ./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' 248 | std::string to_string(const std::string& s) { return s; }; | ^~~~~~~~~ +./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': +./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 349 | if (s) + | ^ +In file included from Origin610Parser.cpp:34: +./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': +./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] + 150 | virtual bool operator==(const qualifier &q) { return false; } + | ~~~~~~~~~~~~~~~~~^ +./logging.hpp: At global scope: +./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] + 191 | virtual std::string to_string() { assert(0); return ""; }; + | ^~~~~~~~~ +./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' + 199 | std::string to_string(level_t l) + | ^~~~~~~~~ ./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] 191 | virtual std::string to_string() { assert(0); return ""; }; | ^~~~~~~~~ @@ -2272,20 +2353,7 @@ ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 349 | if (s) | ^ -./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': -./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 349 | if (s) - | ^ -Origin610Parser.cpp:433:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 433 | if(findSpreadByName(name) != -1){ - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin610Parser.cpp:436:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 436 | } else if(findMatrixByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin610Parser.cpp:438:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 438 | else if(findExcelByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -In file included from Origin700Parser.cpp:36: +In file included from OriginDefaultParser.cpp:37: ./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': ./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] 150 | virtual bool operator==(const qualifier &q) { return false; } @@ -2315,21 +2383,80 @@ ./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' 248 | std::string to_string(const std::string& s) { return s; }; | ^~~~~~~~~ +./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': +./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] + 521 | const log_param_t &log_param) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 349 | if (s) | ^ +Origin750Parser.cpp: In member function 'virtual bool Origin750Parser::parse()': +Origin750Parser.cpp:301:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 301 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': +./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] + 521 | const log_param_t &log_param) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': +./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] + 521 | const log_param_t &log_param) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +Origin700Parser.cpp: In member function 'virtual bool Origin700Parser::parse()': +Origin700Parser.cpp:291:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 291 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin750Parser.cpp:446:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 446 | if(findSpreadByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin750Parser.cpp:448:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 448 | else if(findMatrixByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin750Parser.cpp:450:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 450 | else if(findExcelByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin750Parser.cpp: In member function 'void Origin750Parser::readGraphInfo()': +Origin750Parser.cpp:1792:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] + 1792 | if(h >= 0x64 && h < 0x1F4){ + | ~~^~~~~~~ +./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': +./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] + 521 | const log_param_t &log_param) + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +Origin610Parser.cpp: In member function 'virtual bool Origin610Parser::parse()': +Origin610Parser.cpp:299:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 299 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin610Parser.cpp:433:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 433 | if(findSpreadByName(name) != -1){ + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin610Parser.cpp:436:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 436 | } else if(findMatrixByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin610Parser.cpp:438:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 438 | else if(findExcelByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin700Parser.cpp:422:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 422 | if(findSpreadByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin700Parser.cpp:424:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 424 | else if(findMatrixByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin700Parser.cpp:426:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 426 | else if(findExcelByName(name) != -1) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ Origin610Parser.cpp: In member function 'bool Origin610Parser::readGraphInfo()': Origin610Parser.cpp:1598:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] 1598 | if(h >= 0x64 && h < 0x1F4){ | ~~^~~~~~~ -Origin610Parser.cpp:1785:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1785 | if(newSize != size) - | ~~~~~~~~^~~~~~~ ./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': ./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] 521 | const log_param_t &log_param) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +Origin610Parser.cpp:1785:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1785 | if(newSize != size) + | ~~~~~~~~^~~~~~~ OriginDefaultParser.cpp: In function 'void ByteSwap(unsigned char*, int)': OriginDefaultParser.cpp:47:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 47 | register int i = 0; @@ -2341,20 +2468,15 @@ OriginDefaultParser.cpp:165:71: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 165 | if(speadSheets.size() == 0 || findSpreadByName(sname) == -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': -./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] - 521 | const log_param_t &log_param) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': -./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] - 521 | const log_param_t &log_param) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ OriginDefaultParser.cpp:264:52: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 264 | speadSheets[spread].maxRows::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 314 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +Origin700Parser.cpp: In member function 'void Origin700Parser::readGraphInfo()': +Origin700Parser.cpp:1207:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] + 1207 | if(h >= 0x64 && h < 0x1F4){ + | ~~^~~~~~~ +Origin700Parser.cpp:1394:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1394 | if(newSize != size) + | ~~~~~~~~^~~~~~~ OriginDefaultParser.cpp:313:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] 313 | fprintf(debug," nr_spreads = %d\n",speadSheets.size()); | ~^ ~~~~~~~~~~~~~~~~~~ @@ -2377,88 +2499,6 @@ | | | | int std::vector::size_type {aka long unsigned int} | %ld -./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': -./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] - 521 | const log_param_t &log_param) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ -Origin700Parser.cpp: In member function 'virtual bool Origin700Parser::parse()': -Origin700Parser.cpp:291:78: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 291 | if(speadSheets.size() == 0 || findSpreadByName(name) == -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin800Parser.cpp:449:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 449 | if(findSpreadByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin800Parser.cpp:451:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 451 | else if(findMatrixByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin800Parser.cpp:453:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 453 | else if(findExcelByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin800Parser.cpp: In member function 'void Origin800Parser::readMatrixInfo()': -Origin800Parser.cpp:1045:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1045 | for (int i = 0; i < matrixes[idx].sheets; i++) - | ~~^~~~~~~~~~~~~~~~~~~~~~ -Origin800Parser.cpp: In member function 'void Origin800Parser::readGraphInfo()': -Origin800Parser.cpp:1711:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] - 1711 | if(h >= 0x64 && h < 0x1F4){ - | ~~^~~~~~~ -Origin700Parser.cpp:422:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 422 | if(findSpreadByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin700Parser.cpp:424:48: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 424 | else if(findMatrixByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin700Parser.cpp:426:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 426 | else if(findExcelByName(name) != -1) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -Origin800Parser.cpp:1899:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1899 | if(newSize != size) - | ~~~~~~~~^~~~~~~ -Origin800Parser.cpp: In member function 'bool Origin800Parser::findSection(const std::string&, int, int)': -Origin800Parser.cpp:2051:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 2051 | while(pos < maxLength){ - | ~~~~^~~~~~~~~~~ -Origin700Parser.cpp: In member function 'void Origin700Parser::readGraphInfo()': -Origin700Parser.cpp:1207:59: warning: comparison is always true due to limited range of data type [-Wtype-limits] - 1207 | if(h >= 0x64 && h < 0x1F4){ - | ~~^~~~~~~ -Origin700Parser.cpp:1394:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1394 | if(newSize != size) - | ~~~~~~~~^~~~~~~ -In file included from Origin810Parser.cpp:34: -./logging.hpp: In member function 'virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)': -./logging.hpp:150:48: warning: unused parameter 'q' [-Wunused-parameter] - 150 | virtual bool operator==(const qualifier &q) { return false; } - | ~~~~~~~~~~~~~~~~~^ -./logging.hpp: At global scope: -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:199:19: note: by 'std::string boost::logging::level_element::to_string(boost::logging::level_t)' - 199 | std::string to_string(level_t l) - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:210:19: note: by 'std::string boost::logging::filename_element::to_string(const std::string&)' - 210 | std::string to_string(const std::string &f) { return f; } - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:217:19: note: by 'std::string boost::logging::line_element::to_string(unsigned int)' - 217 | std::string to_string(unsigned int l) - | ^~~~~~~~~ -./logging.hpp:191:27: warning: 'virtual std::string boost::logging::log_element::to_string()' was hidden [-Woverloaded-virtual=] - 191 | virtual std::string to_string() { assert(0); return ""; }; - | ^~~~~~~~~ -./logging.hpp:248:19: note: by 'std::string boost::logging::trace_element::to_string(const std::string&)' - 248 | std::string to_string(const std::string& s) { return s; }; - | ^~~~~~~~~ -./logging.hpp: In constructor 'boost::logging::sink::sink(std::ostream*, boost::logging::level_t)': -./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 349 | if (s) - | ^ OriginDefaultParser.cpp:91:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | fread(&vers,4,1,f); | ~~~~~^~~~~~~~~~~~~ @@ -2555,10 +2595,6 @@ OriginDefaultParser.cpp:416:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | fread(&c, 1, 1, f); | ~~~~~^~~~~~~~~~~~~ -./logging.hpp: In member function 'virtual std::string boost::logging::log_element::visit(boost::logging::format&, const boost::logging::log_param_t&)': -./logging.hpp:521:62: warning: unused parameter 'log_param' [-Wunused-parameter] - 521 | const log_param_t &log_param) - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ OriginDefaultParser.cpp:287:48: warning: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 287 | delete stmp; | ^~~~ @@ -2592,8 +2628,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'liborigin2-1v5-dbgsym' in '../liborigin2-1v5-dbgsym_20110117-6_amd64.deb'. dpkg-deb: building package 'liborigin2-dev' in '../liborigin2-dev_20110117-6_amd64.deb'. +dpkg-deb: building package 'liborigin2-1v5-dbgsym' in '../liborigin2-1v5-dbgsym_20110117-6_amd64.deb'. dpkg-deb: building package 'liborigin2-1v5' in '../liborigin2-1v5_20110117-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../liborigin2_20110117-6_amd64.buildinfo dpkg-genchanges --build=binary -O../liborigin2_20110117-6_amd64.changes @@ -2602,12 +2638,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/1375693/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1375693/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/2153372 and its subdirectories -I: Current time: Sat May 18 05:22:43 -12 2024 -I: pbuilder-time-stamp: 1716052963 +I: removing directory /srv/workspace/pbuilder/1375693 and its subdirectories +I: Current time: Sat Jun 21 13:51:20 +14 2025 +I: pbuilder-time-stamp: 1750463480