<86>Sep 14 12:37:40 userdel[1435433]: delete user 'rooter' <86>Sep 14 12:37:40 groupadd[1435486]: group added to /etc/group: name=rooter, GID=645 <86>Sep 14 12:37:40 groupadd[1435486]: new group: name=rooter, GID=645 <86>Sep 14 12:37:40 useradd[1435611]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Sep 14 12:37:41 userdel[1436121]: delete user 'builder' <86>Sep 14 12:37:41 groupadd[1436187]: group added to /etc/group: name=builder, GID=646 <86>Sep 14 12:37:41 groupadd[1436187]: new group: name=builder, GID=646 <86>Sep 14 12:37:41 useradd[1436262]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/jigdo-0.7.3-alt6.src.rpm: The use of such a license name is ambiguous: GPL <13>Sep 14 12:37:44 rpmi: libjpeg-2:2.0.6-alt4 sisyphus+284191.100.1.1 1630330787 installed <13>Sep 14 12:37:44 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 12:37:44 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 12:37:44 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Sep 14 12:37:44 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476328 installed <13>Sep 14 12:37:44 rpmi: libglvnd-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:44 rpmi: libwebp7-1.2.1-alt1 sisyphus+282658.100.1.1 1628955707 installed <13>Sep 14 12:37:45 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847006 installed <13>Sep 14 12:37:45 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 12:37:45 rpmi: liblcms2-2.12-alt1 sisyphus+279091.100.1.1 1626376967 installed <13>Sep 14 12:37:45 rpmi: libgomp1-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:37:45 rpmi: libltdl7-2.4.6-alt4 sisyphus+284398.100.1.1 1630577757 installed <13>Sep 14 12:37:45 rpmi: libopenjpeg2.0-2.4.0-alt2 sisyphus+270166.100.1.1 1618663540 installed <13>Sep 14 12:37:45 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 12:37:45 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:37:45 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Sep 14 12:37:45 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Sep 14 12:37:46 rpmi: libtiff5-4.2.0-alt1 sisyphus+279102.100.1.1 1626378268 installed <13>Sep 14 12:37:46 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220281 installed <13>Sep 14 12:37:46 rpmi: libfribidi-1.0.10-alt1 sisyphus+277991.100.1.1 1625932304 installed <13>Sep 14 12:37:46 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 12:37:46 rpmi: libwayland-server-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 12:37:46 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 12:37:46 rpmi: ilmbase25-common-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 14 12:37:46 rpmi: libiex25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 14 12:37:46 rpmi: libilmthread25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 14 12:37:46 rpmi: libimath25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 14 12:37:46 rpmi: libhalf25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639167 installed <13>Sep 14 12:37:46 rpmi: libXau-devel-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Sep 14 12:37:46 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Sep 14 12:37:46 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219266 installed <13>Sep 14 12:37:46 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Sep 14 12:37:46 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478374 installed <13>Sep 14 12:37:46 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 12:37:46 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Sep 14 12:37:46 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Sep 14 12:37:46 rpmi: libGLES-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:46 rpmi: libOpenGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:46 rpmi: libflif-0.3-alt3 sisyphus+276388.100.1.1 1624990825 installed <13>Sep 14 12:37:46 rpmi: libjasper-2.0.33-alt1 sisyphus+283821.100.1.1 1629972799 installed <13>Sep 14 12:37:46 rpmi: libraw-0.20.2-alt1.1 sisyphus+283972.100.1.1 1630055046 installed <13>Sep 14 12:37:46 rpmi: publicsuffix-list-dafsa-20210726-alt1 sisyphus+281138.100.1.1 1627389523 installed <13>Sep 14 12:37:46 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547555 installed <13>Sep 14 12:37:46 rpmi: libnghttp2-1.41.0-alt1 sisyphus+275115.100.1.1 1624405485 installed <13>Sep 14 12:37:46 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Sep 14 12:37:46 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Sep 14 12:37:46 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Sep 14 12:37:46 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Sep 14 12:37:46 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Sep 14 12:37:46 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 14 12:37:46 rpmi: libstdc++11-devel-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:37:47 rpmi: gcc11-c++-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:37:47 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 14 12:37:47 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+279621.1100.1.1 1626630532 installed <13>Sep 14 12:37:47 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Sep 14 12:37:47 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056616 installed <13>Sep 14 12:37:47 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:37:47 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:37:47 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 12:37:47 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 12:37:47 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:37:47 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:37:47 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:37:48 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:37:48 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:37:48 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:37:48 rpmi: glib2-devel-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993714 installed <86>Sep 14 12:37:48 groupadd[1461881]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 14 12:37:48 groupadd[1461881]: group added to /etc/gshadow: name=_keytab <86>Sep 14 12:37:48 groupadd[1461881]: new group: name=_keytab, GID=499 <13>Sep 14 12:37:48 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900477 installed <86>Sep 14 12:37:48 groupadd[1462251]: group added to /etc/group: name=sasl, GID=498 <86>Sep 14 12:37:48 groupadd[1462251]: group added to /etc/gshadow: name=sasl <86>Sep 14 12:37:48 groupadd[1462251]: new group: name=sasl, GID=498 <13>Sep 14 12:37:48 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929849 installed <13>Sep 14 12:37:49 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124742 installed <13>Sep 14 12:37:49 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 14 12:37:49 rpmi: libImageMagick6-common-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999073 installed <13>Sep 14 12:37:49 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406848 installed <13>Sep 14 12:37:49 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927462 installed <13>Sep 14 12:37:49 rpmi: djvu-common-3.5.27-alt1 sisyphus+275289.100.1.2 1624473687 installed <13>Sep 14 12:37:49 rpmi: libdjvu-3.5.27-alt1 sisyphus+275289.100.1.2 1624473704 installed <13>Sep 14 12:37:49 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749871 installed <13>Sep 14 12:37:49 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100446 installed <13>Sep 14 12:37:49 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Sep 14 12:37:49 rpmi: libgpg-error-1.42-alt1 sisyphus+275524.40.1.1 1624455836 installed <13>Sep 14 12:37:49 rpmi: libgcrypt20-1.9.3-alt1 sisyphus+275524.100.1.1 1624456196 installed <13>Sep 14 12:37:49 rpmi: libsystemd-1:249.4-alt2 sisyphus+284628.100.1.1 1630859862 installed <13>Sep 14 12:37:49 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Sep 14 12:37:49 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530700 installed <13>Sep 14 12:37:49 rpmi: libcups-2.3.3-alt6.op2 sisyphus+274028.100.1.1 1623149062 installed <13>Sep 14 12:37:49 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Sep 14 12:37:49 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Sep 14 12:37:49 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Sep 14 12:37:49 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625696944 installed <13>Sep 14 12:37:49 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Sep 14 12:37:49 rpmi: libde265-1.0.7-alt1 sisyphus+275350.100.1.2 1624489763 installed <13>Sep 14 12:37:49 rpmi: libaom3-3.1.2-alt2 sisyphus+284158.100.1.1 1630313159 installed <13>Sep 14 12:37:49 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Sep 14 12:37:49 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Sep 14 12:37:49 rpmi: libatk-devel-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Sep 14 12:37:49 rpmi: libdatrie-0.2.9-alt1_6 sisyphus+278217.100.1.1 1626078473 installed <13>Sep 14 12:37:49 rpmi: libthai-0.1.28-alt1_1 sisyphus+275403.100.1.2 1624502531 installed <13>Sep 14 12:37:49 rpmi: shared-mime-info-2.1-alt1 sisyphus+278982.100.1.1 1626350327 installed <13>Sep 14 12:37:50 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Sep 14 12:37:50 rpmi: libgio-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993714 installed <13>Sep 14 12:37:50 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041559 installed <13>Sep 14 12:37:50 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Sep 14 12:37:50 rpmi: libheif-1.11.0-alt1 sisyphus+279399.100.1.2 1626532547 installed <13>Sep 14 12:37:50 rpmi: libgio-devel-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993714 installed <13>Sep 14 12:37:50 rpmi: libgdk-pixbuf-devel-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Sep 14 12:37:50 rpmi: gtk-update-icon-cache-3.24.30-alt1 sisyphus+277720.100.1.1 1625768759 installed <13>Sep 14 12:37:50 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444970 installed <13>Sep 14 12:37:50 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 12:37:50 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 12:37:50 rpmi: libharfbuzz-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 12:37:50 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 12:37:50 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed Updating fonts cache: <29>Sep 14 12:37:51 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 14 12:37:52 rpmi: libgs-9.54.0-alt3 sisyphus+285041.100.1.1 1631376643 installed <13>Sep 14 12:37:52 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503405 installed <13>Sep 14 12:37:52 rpmi: libharfbuzz-icu-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 12:37:52 rpmi: libharfbuzz-gobject-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 12:37:52 rpmi: libfreetype-devel-2.11.0-alt1 sisyphus+281294.100.1.1 1627488674 installed <13>Sep 14 12:37:52 rpmi: libharfbuzz-devel-2.8.2-alt1 sisyphus+276374.40.4.1 1628747521 installed <13>Sep 14 12:37:52 rpmi: fontconfig-devel-2.13.1-alt2 sisyphus+283256.100.1.1 1629274963 installed <13>Sep 14 12:37:52 rpmi: libcurl-7.78.0-alt1 sisyphus+281161.100.1.1 1627408685 installed <13>Sep 14 12:37:52 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Sep 14 12:37:52 rpmi: libwayland-client-1.19.0-alt1 sisyphus+279023.100.1.1 1626353903 installed <13>Sep 14 12:37:52 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Sep 14 12:37:52 rpmi: libdrm-1:2.4.107-alt2 sisyphus+283492.100.1.3 1629454723 installed <13>Sep 14 12:37:52 rpmi: libgbm-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 12:37:52 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 12:37:52 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Sep 14 12:37:52 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 12:37:52 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 12:37:52 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 12:37:52 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 12:37:52 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Sep 14 12:37:52 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Sep 14 12:37:54 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Sep 14 12:37:54 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637391 installed <13>Sep 14 12:37:54 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Sep 14 12:37:54 rpmi: libXft-devel-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Sep 14 12:37:54 rpmi: libXext-devel-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Sep 14 12:37:54 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134584 installed <13>Sep 14 12:37:54 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Sep 14 12:37:54 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Sep 14 12:37:54 rpmi: libGLX-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 12:37:54 rpmi: libEGL-mesa-4:21.2.1-alt1 sisyphus+283492.200.2.1 1629455881 installed <13>Sep 14 12:37:54 rpmi: libEGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:54 rpmi: libGLX-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:54 rpmi: libGL-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:54 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 14 12:37:54 rpmi: libpango-1.48.10-alt1 sisyphus+285076.100.1.1 1631425185 installed <13>Sep 14 12:37:54 rpmi: liblasi-1.1.3-alt2 sisyphus+275244.100.1.2 1624454882 installed <13>Sep 14 12:37:54 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 14 12:37:54 rpmi: librsvg-1:2.50.7-alt1 sisyphus+279625.100.1.2 1626639613 installed <13>Sep 14 12:37:54 rpmi: libglvnd-devel-7:1.3.3-alt1 sisyphus+279467.100.1.1 1626548124 installed <13>Sep 14 12:37:54 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Sep 14 12:37:54 rpmi: libpango-devel-1.48.10-alt1 sisyphus+285076.100.1.1 1631425185 installed <13>Sep 14 12:37:54 rpmi: libXi-1.7.10-alt1 sisyphus+278284.100.1.2 1626151193 installed <13>Sep 14 12:37:54 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Sep 14 12:37:54 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565459 installed <13>Sep 14 12:37:54 rpmi: libXpm-3.5.13-alt1 sisyphus+278339.100.1.2 1626171703 installed <13>Sep 14 12:37:55 rpmi: libgd3-2.3.2-alt1 sisyphus+279240.100.1.1 1626460060 installed <13>Sep 14 12:37:55 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573270 installed <13>Sep 14 12:37:55 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573270 installed <13>Sep 14 12:37:55 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Sep 14 12:37:55 rpmi: libgraphviz-2.41.2-alt5 sisyphus+279667.100.1.2 1626656592 installed <13>Sep 14 12:37:55 rpmi: openexr25-common-2.5.6-alt3 sisyphus+277625.100.1.1 1625722238 installed <13>Sep 14 12:37:55 rpmi: libilmimf25-2.5.6-alt3 sisyphus+277625.100.1.1 1625722238 installed <13>Sep 14 12:37:55 rpmi: libImageMagick6.7-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999073 installed <13>Sep 14 12:37:55 rpmi: ImageMagick-tools-6.9.12.19-alt1 sisyphus+281741.100.1.1 1627999073 installed <13>Sep 14 12:37:55 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Sep 14 12:37:55 rpmi: libcurl-devel-7.78.0-alt1 sisyphus+281161.100.1.1 1627408685 installed <13>Sep 14 12:37:55 rpmi: wget-1.21.2-alt1 sisyphus+285050.100.1.1 1631406776 installed <13>Sep 14 12:37:55 rpmi: gcc-c++-11-alt1 icarus+285089.300.1.1 1631485148 installed <13>Sep 14 12:37:55 rpmi: libdb4.7-devel-4.7.25-alt12 sisyphus+283793.100.2.1 1629966884 installed <13>Sep 14 12:37:55 rpmi: bzlib-devel-1:1.0.8-alt2 sisyphus+283723.100.1.1 1629847656 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/jigdo-0.7.3-alt6.nosrc.rpm (w1.gzdio) Installing jigdo-0.7.3-alt6.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71429 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf jigdo-0.7.3 + echo 'Source #0 (jigdo-0.7.3.tar.bz2):' Source #0 (jigdo-0.7.3.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/jigdo-0.7.3.tar.bz2 + /bin/tar -xf - + cd jigdo-0.7.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (jigdo-0.7.3-string_h.patch):' Patch #1 (jigdo-0.7.3-string_h.patch): + /usr/bin/patch -p1 patching file src/compat.hh patching file src/gtk/gtk-single-url.cc patching file src/gtk/jigdo.cc patching file src/recursedir.cc patching file src/util/configfile.cc patching file src/util/md5sum.hh patching file src/util/string-utf.cc + echo 'Patch #2 (jigdo-0.7.3-curl_h.patch):' Patch #2 (jigdo-0.7.3-curl_h.patch): + /usr/bin/patch -p1 patching file src/net/download.hh + echo 'Patch #3 (jigdo-0.7.3-alt-toolchain.patch):' Patch #3 (jigdo-0.7.3-alt-toolchain.patch): + /usr/bin/patch -p2 patching file src/mkimage.cc + cat + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21219 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd jigdo-0.7.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for gawk... gawk checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for GCC version... 11 checking for a BSD-compatible install... /bin/install -c checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking whether byte ordering is bigendian... no checking whether we are compiling for Windows... no checking whether the C++ compiler is recent enough... yes checking whether the C++ preprocessor supports variable-arg macros... yes checking for wget... yes checking for value of --enable-debug... "no" checking for value of --with-pkg-config-prefix... not set checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for string.h... (cached) yes checking for zlibVersion in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for BZ2_bzCompressInit in -lbz2... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for value of --with-libdb... "yes" checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for libdb version in db.h... 4.7 checking for db_create in libdb-4.7... yes checking for value of --with-gui... "auto" checking for pkg-config... yes checking for GTK+ 2.4.0 or later... 2.24.33 checking for value of --with-libcurl... "auto" checking for libcurl 7.11.0 or later... 7.78.0 checking for value of --with-uint64... "auto" checking for unsigned long long... yes checking for unsigned long... yes checking size of unsigned long... 4 checking for unsigned long long... yes checking size of unsigned long long... 8 checking for 64 bit unsigned integer type... unsigned long long checking for operator<<(uint64)... yes checking for string::compare(size_t,size_t,string,size_t,size_t)... yes checking for string::compare(size_t,size_t,const char*,size_t)... yes checking for lstat... yes checking for truncate... yes checking for ftruncate... yes checking for mmap... yes checking for memcpy... yes checking for fileno... yes checking for snprintf... yes checking for _snprintf... yes checking for setenv... yes checking for TIOCGWINSZ ioctl... yes checking for getopt_long in ... yes checking for uname in ... yes checking for _stati64... no checking for value of --enable-nls... "yes" checking for dgettext in and libc... yes checking for catalogs to be installed... de configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: creating src/config.h + make -j8 make: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3' test -h gfx -o -d gfx || ln -s "./gfx" gfx make: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3' cd src && make all make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' export cpp='-I. -I. -I./glibcurl -I./gtk -I./job -I./net -I./util -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR="/usr/share/jigdo/" -DPACKAGE_LOCALE_DIR="/usr/share/locale" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' export cxx="$cpp -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -Wall -W -Wpointer-arith -Wconversion -Woverloaded-virtual " export c="$cpp -Wall -pipe -frecord-gcc-switches -Wall -O2 -flto=auto -march=i586 -mtune=generic -W " make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c compat.cc -o compat.o make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c jigdoconfig.cc -o jigdoconfig.o make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c cachefile.cc -o cachefile.o In file included from cachefile.cc:16: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:16: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:16: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:16: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:16: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:16: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./serialize.hh:34, from cachefile.cc:28: ./util/bstream.hh: At global scope: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./serialize.hh:34, from cachefile.cc:28: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./serialize.hh:34, from cachefile.cc:28: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./serialize.hh:34, from cachefile.cc:28: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from cachefile.cc:28: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ cachefile.cc: At global scope: cachefile.cc:90:30: error: reference to 'byte' is ambiguous 90 | Status CacheFile::find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc: In member function 'Status CacheFile::find(const int*&, size_t&, const string&, uint64, time_t)': cachefile.cc:105:3: error: reference to 'byte' is ambiguous 105 | byte* d = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:105:9: error: 'd' was not declared in this scope; did you mean 'db'? 105 | byte* d = static_cast(data.data); | ^ | db cachefile.cc:105:25: error: reference to 'byte' is ambiguous 105 | byte* d = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:105:29: error: expected '>' before '*' token 105 | byte* d = static_cast(data.data); | ^ cachefile.cc:105:29: error: expected '(' before '*' token 105 | byte* d = static_cast(data.data); | ^ | ( cachefile.cc:105:30: error: expected primary-expression before '>' token 105 | byte* d = static_cast(data.data); | ^ cachefile.cc:105:42: error: expected ')' before ';' token 105 | byte* d = static_cast(data.data); | ^ | ) cachefile.cc: At global scope: cachefile.cc:133:34: error: reference to 'byte' is ambiguous 133 | Status CacheFile::findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc: In member function 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)': cachefile.cc:149:3: error: reference to 'byte' is ambiguous 149 | byte* d = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:149:9: error: 'd' was not declared in this scope; did you mean 'db'? 149 | byte* d = static_cast(data.data); | ^ | db cachefile.cc:149:25: error: reference to 'byte' is ambiguous 149 | byte* d = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:149:29: error: expected '>' before '*' token 149 | byte* d = static_cast(data.data); | ^ cachefile.cc:149:29: error: expected '(' before '*' token 149 | byte* d = static_cast(data.data); | ^ | ( cachefile.cc:149:30: error: expected primary-expression before '>' token 149 | byte* d = static_cast(data.data); | ^ cachefile.cc:149:42: error: expected ')' before ';' token 149 | byte* d = static_cast(data.data); | ^ | ) cachefile.cc: In member function 'void CacheFile::expire(time_t)': cachefile.cc:189:44: error: reference to 'byte' is ambiguous 189 | unserialize4(lastAccess, static_cast(data.data) + ACCESS); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:189:48: error: expected '>' before '*' token 189 | unserialize4(lastAccess, static_cast(data.data) + ACCESS); | ^ cachefile.cc:189:48: error: expected '(' before '*' token 189 | unserialize4(lastAccess, static_cast(data.data) + ACCESS); | ^ | ( cachefile.cc:189:49: error: expected primary-expression before '>' token 189 | unserialize4(lastAccess, static_cast(data.data) + ACCESS); | ^ cachefile.cc:189:62: error: no match for 'operator+' (operand types are 'void*' and 'CacheFile::') 189 | unserialize4(lastAccess, static_cast(data.data) + ACCESS); | ~~~~~~~~~~~ ^ ~~~~~~ | | | | void* CacheFile:: cachefile.cc: At global scope: cachefile.cc:204:1: error: reference to 'byte' is ambiguous 204 | byte* CacheFile::insert_prepare(size_t inSize) { | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc: In member function 'void CacheFile::insert_perform(const string&, time_t, uint64)': cachefile.cc:218:3: error: reference to 'byte' is ambiguous 218 | byte* buf = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:218:9: error: 'buf' was not declared in this scope 218 | byte* buf = static_cast(data.data); | ^~~ cachefile.cc:218:27: error: reference to 'byte' is ambiguous 218 | byte* buf = static_cast(data.data); | ^~~~ In file included from ./config.h:217, from cachefile.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from cachefile.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ cachefile.cc:218:31: error: expected '>' before '*' token 218 | byte* buf = static_cast(data.data); | ^ cachefile.cc:218:31: error: expected '(' before '*' token 218 | byte* buf = static_cast(data.data); | ^ | ( cachefile.cc:218:32: error: expected primary-expression before '>' token 218 | byte* buf = static_cast(data.data); | ^ cachefile.cc:218:44: error: expected ')' before ';' token 218 | byte* buf = static_cast(data.data); | ^ | ) make[1]: *** [Makefile:95: cachefile.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c jigdo-file.cc -o jigdo-file.o In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/bstream.hh: At global scope: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope; did you mean 'mutable'? 336 | code = table[code - 32]; | ^~~~~ | mutable ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file.cc:32: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./jigdo-file-cmd.hh:28, from jigdo-file.cc:32: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: error: ISO C++17 does not allow dynamic exception specifications 75 | static void seekFromEnd(bistream& file) throw(JigdoDescError); | ^~~~~ ./mkimage.hh:233:33: error: ISO C++17 does not allow dynamic exception specifications 233 | bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); | ^~~~~ ./mkimage.hh:295:5: error: ISO C++17 does not allow dynamic exception specifications 295 | throw(JigdoDescError, bad_alloc) { | ^~~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:110:16: error: reference to 'byte' is ambiguous 110 | static const byte IMAGE_INFO = 1, UNMATCHED_DATA = 2, MATCHED_FILE = 3; | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:141:25: error: reference to 'byte' is ambiguous 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:141:25: error: 'byte' has not been declared 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ ./mktemplate.hh:150:29: error: reference to 'byte' is ambiguous 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:150:29: error: 'byte' has not been declared 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ ./mktemplate.hh:156:30: error: reference to 'byte' is ambiguous 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:156:30: error: 'byte' has not been declared 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ ./mktemplate.hh:160:23: error: reference to 'byte' is ambiguous 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from jigdo-file.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file.cc:32: ./mktemplate.hh:160:23: error: 'byte' has not been declared 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from jigdo-file.cc:37: ./recursedir.hh:79:7: error: ISO C++17 does not allow dynamic exception specifications 79 | throw(RecurseError, bad_alloc); | ^~~~~ ./recursedir.hh:105:5: error: ISO C++17 does not allow dynamic exception specifications 105 | throw(RecurseError); | ^~~~~ jigdo-file.cc: In static member function 'static JigdoFileCmd::Command JigdoFileCmd::cmdOptions(int, char**)': jigdo-file.cc:557:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 557 | case 'h': case 'H': optHelp = c; break; | ^ jigdo-file.cc:656:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 656 | { "make-template", MAKE_TEMPLATE }, | ^~~~~~~~~~~~~~~ jigdo-file.cc:657:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 657 | { "mt", MAKE_TEMPLATE }, | ^~~~ jigdo-file.cc:658:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 658 | { "make-image", MAKE_IMAGE }, | ^~~~~~~~~~~~ jigdo-file.cc:659:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 659 | { "mi", MAKE_IMAGE }, | ^~~~ jigdo-file.cc:660:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 660 | { "print-missing", PRINT_MISSING }, | ^~~~~~~~~~~~~~~ jigdo-file.cc:661:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 661 | { "pm", PRINT_MISSING }, | ^~~~ jigdo-file.cc:662:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 662 | { "print-missing-all", PRINT_MISSING_ALL }, | ^~~~~~~~~~~~~~~~~~~ jigdo-file.cc:663:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 663 | { "pma", PRINT_MISSING_ALL }, | ^~~~~ jigdo-file.cc:664:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 664 | { "verify", VERIFY }, | ^~~~~~~~ jigdo-file.cc:665:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 665 | { "ver", VERIFY }, | ^~~~~ jigdo-file.cc:666:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 666 | { "scan", SCAN }, | ^~~~~~ jigdo-file.cc:667:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 667 | { "sc", SCAN }, | ^~~~ jigdo-file.cc:668:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | { "list-template", LIST_TEMPLATE }, | ^~~~~~~~~~~~~~~ jigdo-file.cc:669:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 669 | { "ls", LIST_TEMPLATE }, | ^~~~ jigdo-file.cc:670:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 670 | { "md5sum", MD5SUM }, | ^~~~~~~~ jigdo-file.cc:671:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 671 | { "md5", MD5SUM } | ^~~~~ jigdo-file.cc: In function 'int main(int, char**)': jigdo-file.cc:776:10: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 776 | catch (bad_alloc) { outOfMemory(); } | ^~~~~~~~~ jigdo-file.cc: In function 'size_t {anonymous}::scanMemSize(const char*)': jigdo-file.cc:420:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 420 | x = x * 1024; | ~~^~~~~~~~~~ jigdo-file.cc:421:3: note: here 421 | case 'm': case 'M': | ^~~~ jigdo-file.cc:422:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 422 | x = x * 1024; | ~~^~~~~~~~~~ jigdo-file.cc:423:3: note: here 423 | case 'k': case 'K': | ^~~~ jigdo-file.cc:425:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 425 | if (*++s == '\0') return x; | ^~ jigdo-file.cc:426:3: note: here 426 | default: | ^~~~~~~ make[1]: *** [Makefile:95: jigdo-file.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c jigdo-file-cmd.cc -o jigdo-file-cmd.o In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/bstream.hh: At global scope: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope; did you mean 'mutable'? 336 | code = table[code - 32]; | ^~~~~ | mutable ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./scan.hh:29, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./jigdo-file-cmd.hh:26, from jigdo-file-cmd.cc:25: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./jigdo-file-cmd.hh:28, from jigdo-file-cmd.cc:25: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: error: ISO C++17 does not allow dynamic exception specifications 75 | static void seekFromEnd(bistream& file) throw(JigdoDescError); | ^~~~~ ./mkimage.hh:233:33: error: ISO C++17 does not allow dynamic exception specifications 233 | bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); | ^~~~~ ./mkimage.hh:295:5: error: ISO C++17 does not allow dynamic exception specifications 295 | throw(JigdoDescError, bad_alloc) { | ^~~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:110:16: error: reference to 'byte' is ambiguous 110 | static const byte IMAGE_INFO = 1, UNMATCHED_DATA = 2, MATCHED_FILE = 3; | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:141:25: error: reference to 'byte' is ambiguous 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:141:25: error: 'byte' has not been declared 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ ./mktemplate.hh:150:29: error: reference to 'byte' is ambiguous 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:150:29: error: 'byte' has not been declared 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ ./mktemplate.hh:156:30: error: reference to 'byte' is ambiguous 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:156:30: error: 'byte' has not been declared 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ ./mktemplate.hh:160:23: error: reference to 'byte' is ambiguous 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from jigdo-file-cmd.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from jigdo-file-cmd.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./jigdo-file-cmd.hh:29, from jigdo-file-cmd.cc:25: ./mktemplate.hh:160:23: error: 'byte' has not been declared 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from jigdo-file-cmd.cc:27: ./recursedir.hh:79:7: error: ISO C++17 does not allow dynamic exception specifications 79 | throw(RecurseError, bad_alloc); | ^~~~~ ./recursedir.hh:105:5: error: ISO C++17 does not allow dynamic exception specifications 105 | throw(RecurseError); | ^~~~~ jigdo-file-cmd.cc:56:59: error: ISO C++17 does not allow dynamic exception specifications 56 | istream* openForInput(istream*& dest, const string& name) throw(Cleanup) { | ^~~~~ jigdo-file-cmd.cc:106:60: error: ISO C++17 does not allow dynamic exception specifications 106 | ostream* openForOutput(ostream*& dest, const string& name) throw(Cleanup) { | ^~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeTemplate()': jigdo-file-cmd.cc:221:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 221 | auto_ptr imageDel(openForInput(image, imageFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:223:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 223 | auto_ptr cfDel(new ConfigFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:227:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 227 | auto_ptr jigdoMergeDel(openForInput(jigdoMerge, | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:240:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 240 | auto_ptr templDel(openForOutput(templ, templFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:253:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 253 | auto_ptr | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:269:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 269 | auto_ptr jigdoDel(openForOutput(jigdoF, jigdoFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::makeImage()': jigdo-file-cmd.cc:306:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 306 | auto_ptr templDel(openForInput(templ, templFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::listTemplate()': jigdo-file-cmd.cc:335:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 335 | auto_ptr templDel(openForInput(templ, templFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::verifyImage()': jigdo-file-cmd.cc:370:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 370 | auto_ptr imageDel(openForInput(image, imageFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:376:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 376 | auto_ptr templDel(openForInput(templ, templFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::printMissing(JigdoFileCmd::Command)': jigdo-file-cmd.cc:450:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 450 | auto_ptr templDel(openForInput(templ, templFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:465:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 465 | auto_ptr jigdoDel(openForInput(jigdo, jigdoFile)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:466:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 466 | auto_ptr cfDel(new ConfigFile()); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from jigdo-file-cmd.cc:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ jigdo-file-cmd.cc:494:18: error: 'const class MD5' has no member named 'sum' 494 | m.write(i->sum, 16).flush(); | ^~~ jigdo-file-cmd.cc:524:18: error: 'const class MD5' has no member named 'sum' 524 | m.write(i->sum, 16).flush(); | ^~~ jigdo-file-cmd.cc: In static member function 'static int JigdoFileCmd::md5sumFiles()': jigdo-file-cmd.cc:608:19: error: 'const class MD5Sum' has no member named 'digest' 608 | m.write(md->digest(), 16).flush(); | ^~~~~~ make[1]: *** [Makefile:95: jigdo-file-cmd.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c mkimage.cc -o mkimage.o In file included from ./mkimage.hh:26, from mkimage.cc:30: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mkimage.cc:30: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mkimage.cc:30: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mkimage.cc:30: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope; did you mean 'mutable'? 336 | code = table[code - 32]; | ^~~~~ | mutable ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mkimage.cc:30: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh: At global scope: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from ./mkimage.hh:29, from mkimage.cc:30: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:29, from mkimage.cc:30: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:29, from mkimage.cc:30: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mkimage.cc:30: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from mkimage.cc:30: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: error: ISO C++17 does not allow dynamic exception specifications 75 | static void seekFromEnd(bistream& file) throw(JigdoDescError); | ^~~~~ ./mkimage.hh:233:33: error: ISO C++17 does not allow dynamic exception specifications 233 | bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); | ^~~~~ ./mkimage.hh:295:5: error: ISO C++17 does not allow dynamic exception specifications 295 | throw(JigdoDescError, bad_alloc) { | ^~~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:81:33: error: reference to 'byte' is ambiguous 81 | inline Zobstream& write(const byte* x, unsigned n); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:99:11: error: reference to 'byte' is ambiguous 99 | virtual byte* nextOut() const = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:100:11: error: reference to 'byte' is ambiguous 100 | virtual byte* nextIn() const = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:105:27: error: reference to 'byte' is ambiguous 105 | virtual void setNextOut(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:105:27: error: 'byte' has not been declared 105 | virtual void setNextOut(byte* n) = 0; | ^~~~ ./zstream.hh:106:26: error: reference to 'byte' is ambiguous 106 | virtual void setNextIn(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:106:26: error: 'byte' has not been declared 106 | virtual void setNextIn(byte* n) = 0; | ^~~~ ./zstream.hh:108:21: error: reference to 'byte' is ambiguous 108 | virtual void zip2(byte* start, unsigned len, bool finish) = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:108:21: error: 'byte' has not been declared 108 | virtual void zip2(byte* start, unsigned len, bool finish) = 0; | ^~~~ ./zstream.hh:117:5: error: reference to 'byte' is ambiguous 117 | byte data[ZIPDATA_SIZE]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:129:19: error: reference to 'byte' is ambiguous 129 | inline void zip(byte* start, unsigned len, bool finish = false); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:129:19: error: 'byte' has not been declared 129 | inline void zip(byte* start, unsigned len, bool finish = false); | ^~~~ ./zstream.hh:132:3: error: reference to 'byte' is ambiguous 132 | byte* todoBuf; // Allocated during open(), deallocated during close() | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/log.hh:56, from mkimage.cc:29: ./zstream.hh: In destructor 'virtual Zobstream::~Zobstream()': ./zstream.hh:60:57: error: 'todoBuf' was not declared in this scope 60 | virtual ~Zobstream() { close(); delete zipBuf; Assert(todoBuf == 0); } | ^~~~~~~ ./util/debug.hh:91:14: note: in definition of macro 'Assert' 91 | ((void) ((_expr) ? 0 : \ | ^~~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: At global scope: ./zstream.hh:159:13: error: reference to 'byte' is ambiguous 159 | virtual byte* nextOut() const = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:160:13: error: reference to 'byte' is ambiguous 160 | virtual byte* nextIn() const = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:164:28: error: reference to 'byte' is ambiguous 164 | virtual void setNextIn(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:164:28: error: 'byte' has not been declared 164 | virtual void setNextIn(byte* n) = 0; | ^~~~ ./zstream.hh:175:26: error: reference to 'byte' is ambiguous 175 | virtual void inflate(byte** nextOut, unsigned* availOut) = 0; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:175:26: error: 'byte' has not been declared 175 | virtual void inflate(byte** nextOut, unsigned* availOut) = 0; | ^~~~ ./zstream.hh:208:19: error: reference to 'byte' is ambiguous 208 | Zibstream& read(byte* x, unsigned n); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:208:19: error: 'byte' has not been declared 208 | Zibstream& read(byte* x, unsigned n); | ^~~~ ./zstream.hh:237:3: error: reference to 'byte' is ambiguous 237 | byte* buf; // Contains compressed data | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:240:3: error: reference to 'byte' is ambiguous 240 | byte* nextOut; // Pointer into output buffer | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: In destructor 'virtual Zibstream::~Zibstream()': ./zstream.hh:190:42: error: 'buf' was not declared in this scope 190 | virtual ~Zibstream() { close(); delete buf; if (z != 0) z->end(); delete z; } | ^~~ ./zstream.hh: In member function 'bool Zibstream::good() const': ./zstream.hh:215:43: error: 'buf' was not declared in this scope 215 | bool good() const { return is_open() && buf != 0; } | ^~~ ./zstream.hh: In constructor 'Zobstream::Zobstream(MD5Sum*)': ./zstream.hh:249:33: error: class 'Zobstream' does not have any field named 'todoBuf' 249 | : zipBuf(0), zipBufLast(0), todoBuf(0), todoBufSize(0), todoCount(0), | ^~~~~~~ ./zstream.hh: In member function 'void Zobstream::open(bostream&, unsigned int, unsigned int)': ./zstream.hh:259:3: error: 'todoBuf' was not declared in this scope; did you mean 'todoBufSz'? 259 | todoBuf = new byte[todoBufSize]; | ^~~~~~~ | todoBufSz ./zstream.hh:259:17: error: reference to 'byte' is ambiguous 259 | todoBuf = new byte[todoBufSize]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: At global scope: ./zstream.hh:265:6: error: variable or field 'zip' declared void 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~~~~~ ./zstream.hh:265:21: error: reference to 'byte' is ambiguous 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:265:27: error: 'start' was not declared in this scope; did you mean 'stat'? 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~ | stat ./zstream.hh:265:34: error: expected primary-expression before 'unsigned' 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~~~~ ./zstream.hh:265:48: error: expected primary-expression before 'bool' 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~ ./zstream.hh: In member function 'Zobstream& Zobstream::put(unsigned char)': ./zstream.hh:273:37: error: 'todoBuf' was not declared in this scope 273 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:274:3: error: 'todoBuf' was not declared in this scope 274 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:274:36: error: reference to 'byte' is ambiguous 274 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: In member function 'Zobstream& Zobstream::put(signed char)': ./zstream.hh:280:37: error: 'todoBuf' was not declared in this scope 280 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:281:3: error: 'todoBuf' was not declared in this scope 281 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:281:36: error: reference to 'byte' is ambiguous 281 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: In member function 'Zobstream& Zobstream::put(char)': ./zstream.hh:287:37: error: 'todoBuf' was not declared in this scope 287 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:288:3: error: 'todoBuf' was not declared in this scope 288 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:288:36: error: reference to 'byte' is ambiguous 288 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: In member function 'Zobstream& Zobstream::put(int)': ./zstream.hh:294:37: error: 'todoBuf' was not declared in this scope 294 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:295:3: error: 'todoBuf' was not declared in this scope 295 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:295:36: error: reference to 'byte' is ambiguous 295 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: At global scope: ./zstream.hh:300:35: error: reference to 'byte' is ambiguous 300 | Zobstream& Zobstream::write(const byte* x, unsigned n) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh: In member function 'Zobstream& Zobstream::write(const int*, unsigned int)': ./zstream.hh:303:9: error: 'todoBuf' was not declared in this scope 303 | zip(todoBuf, todoCount); // Zip remaining data in todoBuf | ^~~~~~~ ./zstream.hh:304:20: error: reference to 'byte' is ambiguous 304 | zip(const_cast(x), n); // Zip byte array | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mkimage.cc:34: ./zstream.hh:304:24: error: expected '>' before '*' token 304 | zip(const_cast(x), n); // Zip byte array | ^ ./zstream.hh:304:24: error: expected '(' before '*' token 304 | zip(const_cast(x), n); // Zip byte array | ^ | ( ./zstream.hh:304:25: error: expected primary-expression before '>' token 304 | zip(const_cast(x), n); // Zip byte array | ^ ./zstream.hh: In constructor 'Zibstream::Zibstream(unsigned int)': ./zstream.hh:311:40: error: class 'Zibstream' does not have any field named 'buf' 311 | : z(0), stream(0), bufSize(bufSz), buf(0) { | ^~~ ./zstream.hh: In constructor 'Zibstream::Zibstream(bistream&, unsigned int)': ./zstream.hh:315:40: error: class 'Zibstream' does not have any field named 'buf' 315 | : z(0), stream(0), bufSize(bufSz), buf(0) { | ^~~ In file included from mkimage.cc:34: ./zstream-gz.hh: At global scope: ./zstream-gz.hh:59:11: error: reference to 'byte' is ambiguous 59 | virtual byte* nextOut() const { return z.next_out; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:60:11: error: reference to 'byte' is ambiguous 60 | virtual byte* nextIn() const { return z.next_in; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:65:27: error: reference to 'byte' is ambiguous 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:65:27: error: 'byte' has not been declared 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^~~~ ./zstream-gz.hh:66:26: error: reference to 'byte' is ambiguous 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:66:26: error: 'byte' has not been declared 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ ./zstream-gz.hh:67:21: error: reference to 'byte' is ambiguous 67 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:67:21: error: 'byte' has not been declared 67 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ ./zstream-gz.hh: In member function 'virtual void ZobstreamGz::setNextOut(int*)': ./zstream-gz.hh:65:51: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^ | | | int* ./zstream-gz.hh: In member function 'virtual void ZobstreamGz::setNextIn(int*)': ./zstream-gz.hh:66:49: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^ | | | int* ./zstream-gz.hh: At global scope: ./zstream-gz.hh:94:11: error: reference to 'byte' is ambiguous 94 | virtual byte* nextOut() const { return z.next_out; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:95:11: error: reference to 'byte' is ambiguous 95 | virtual byte* nextIn() const { return z.next_in; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:99:26: error: reference to 'byte' is ambiguous 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:99:26: error: 'byte' has not been declared 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ ./zstream-gz.hh:112:24: error: reference to 'byte' is ambiguous 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkimage.cc:34: ./zstream-gz.hh:112:24: error: 'byte' has not been declared 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ ./zstream-gz.hh: In member function 'virtual void ZibstreamGz::setNextIn(int*)': ./zstream-gz.hh:99:49: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^ | | | int* ./zstream-gz.hh: In member function 'virtual void ZibstreamGz::inflate(int**, unsigned int*)': ./zstream-gz.hh:113:18: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 113 | z.next_out = *nextOut; z.avail_out = *availOut; | ^~~~~~~~ | | | int* ./zstream-gz.hh:115:18: error: cannot convert 'Bytef*' {aka 'unsigned char*'} to 'int*' in assignment 115 | *nextOut = z.next_out; *availOut = z.avail_out; | ~~^~~~~~~~ | | | Bytef* {aka unsigned char*} mkimage.cc: At global scope: mkimage.cc:45:6: error: variable or field 'memClear' declared void 45 | void memClear(byte* buf, size_t size) { | ^~~~~~~~ mkimage.cc:45:15: error: reference to 'byte' is ambiguous 45 | void memClear(byte* buf, size_t size) { | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:45:21: error: 'buf' was not declared in this scope 45 | void memClear(byte* buf, size_t size) { | ^~~ mkimage.cc:45:33: error: expected primary-expression before 'size' 45 | void memClear(byte* buf, size_t size) { | ^~~~ mkimage.cc:76:45: error: ISO C++17 does not allow dynamic exception specifications 76 | void JigdoDesc::seekFromEnd(bistream& file) throw(JigdoDescError) { | ^~~~~ mkimage.cc: In static member function 'static void JigdoDesc::seekFromEnd(bistream&)': mkimage.cc:93:3: error: reference to 'byte' is ambiguous 93 | byte buf[4]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:94:3: error: 'buf' was not declared in this scope 94 | buf[3] = '\0'; | ^~~ mkimage.cc:95:3: error: reference to 'byte' is ambiguous 95 | byte* b = buf; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:95:9: error: 'b' was not declared in this scope 95 | byte* b = buf; | ^ mkimage.cc: At global scope: mkimage.cc:114:5: error: ISO C++17 does not allow dynamic exception specifications 114 | throw(JigdoDescError, bad_alloc) { | ^~~~~ mkimage.cc: In member function 'bistream& JigdoDescVec::get(bistream&)': mkimage.cc:118:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 118 | auto_ptr desc; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from mkimage.cc:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ mkimage.cc:138:5: error: reference to 'byte' is ambiguous 138 | byte type = *f; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:140:13: error: 'type' was not declared in this scope; did you mean 'wctype'? 140 | switch (type) { | ^~~~ | wctype mkimage.cc: In member function 'bostream& JigdoDescVec::put(bostream&, MD5Sum*) const': mkimage.cc:253:3: error: reference to 'byte' is ambiguous 253 | byte buf[bufLen]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:254:14: error: 'buf' was not declared in this scope 254 | if (DEBUG) buf[bufLen - 1] = 0xa5; | ^~~ mkimage.cc:255:3: error: reference to 'byte' is ambiguous 255 | byte* p; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:255:9: error: 'p' was not declared in this scope 255 | byte* p; | ^ mkimage.cc:256:30: error: 'buf' was not declared in this scope 256 | p = serialize4(0x43534544, buf); // "DESC" in little-endian order | ^~~ mkimage.cc: At global scope: mkimage.cc:348:35: error: reference to 'byte' is ambiguous 348 | ProgressReporter& reporter, byte* buf, size_t readAmount, uint64& off, | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:348:35: error: 'byte' has not been declared 348 | ProgressReporter& reporter, byte* buf, size_t readAmount, uint64& off, | ^~~~ mkimage.cc: In function 'int {anonymous}::fileToImage(bostream*, FilePart&, const JigdoDesc::MatchedFile&, bool, size_t, {anonymous}::ProgressReporter&, int*, size_t, uint64&, uint64&, uint64)': mkimage.cc:363:42: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 363 | size_t n = (toWrite < readAmount ? toWrite : readAmount); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc:382:40: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 382 | size_t n = (toWrite < readAmount ? toWrite : readAmount); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc:397:7: error: 'memClear' was not declared in this scope 397 | memClear(buf, readAmount); | ^~~~~~~~ mkimage.cc:399:42: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 399 | size_t n = (toWrite < readAmount ? toWrite : readAmount); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc: In function 'int {anonymous}::writeAll(const {anonymous}::Task&, JigdoDescVec&, std::queue&, bistream*, size_t, bostream*, const char*, bool, {anonymous}::ProgressReporter&, JigdoCache*, uint64)': mkimage.cc:448:16: error: template argument 1 is invalid 448 | vector bufVec(readAmount); | ^ mkimage.cc:448:16: error: template argument 2 is invalid mkimage.cc:449:5: error: reference to 'byte' is ambiguous 449 | byte* buf = &bufVec[0]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:449:11: error: 'buf' was not declared in this scope 449 | byte* buf = &bufVec[0]; | ^~~ mkimage.cc:449:24: error: invalid types 'int[int]' for array subscript 449 | byte* buf = &bufVec[0]; | ^ mkimage.cc:454:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 454 | auto_ptr data(new Zibstream(*templ, readAmount + 8*1024)); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from mkimage.cc:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ mkimage.cc:482:13: error: 'memClear' was not declared in this scope 482 | memClear(buf, readAmount); | ^~~~~~~~ mkimage.cc:489:38: warning: conversion from 'Zibstream::streamsize' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 489 | size_t n = data->gcount(); | ~~~~~~~~~~~~^~ mkimage.cc:510:15: error: 'memClear' was not declared in this scope 510 | memClear(buf, readAmount); | ^~~~~~~~ mkimage.cc:512:50: warning: conversion from 'long long unsigned int' to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 512 | size_t n = (toWrite < readAmount ? toWrite : readAmount); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkimage.cc: In function 'int {anonymous}::writeMerge(JigdoDescVec&, std::queue&, int, size_t, bfstream*, const string&, bool, {anonymous}::ProgressReporter&, JigdoCache*, uint64)': mkimage.cc:593:16: error: template argument 1 is invalid 593 | vector bufVec(readAmount); | ^ mkimage.cc:593:16: error: template argument 2 is invalid mkimage.cc:594:5: error: reference to 'byte' is ambiguous 594 | byte* buf = &bufVec[0]; | ^~~~ In file included from ./config.h:217, from mkimage.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkimage.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mkimage.cc:594:11: error: 'buf' was not declared in this scope 594 | byte* buf = &bufVec[0]; | ^~~ mkimage.cc:594:24: error: invalid types 'int[int]' for array subscript 594 | byte* buf = &bufVec[0]; | ^ mkimage.cc: In static member function 'static int JigdoDesc::makeImage(JigdoCache*, const string&, const string&, const string&, bistream*, bool, JigdoDesc::ProgressReporter&, size_t, bool)': mkimage.cc:748:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 748 | auto_ptr imgDel(img); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from mkimage.cc:23: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mkimage.cc:30: ./serialize.hh: In instantiation of 'ConstIterator unserialize6(NumType&, ConstIterator) [with NumType = long long unsigned int; ConstIterator = SerialIstreamIterator]': mkimage.cc:82:15: required from here ./serialize.hh:183:28: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 183 | x = static_cast(*i); ++i; | ^~ ./serialize.hh:184:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 184 | x |= static_cast(*i) << 8; ++i; | ^~ ./serialize.hh:185:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 185 | x |= static_cast(*i) << 16; ++i; | ^~ ./serialize.hh:186:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 186 | x |= static_cast(*i) << 24; ++i; | ^~ ./serialize.hh:187:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 187 | x |= static_cast(*i) << 32; ++i; | ^~ ./serialize.hh:188:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 188 | x |= static_cast(*i) << 40; ++i; | ^~ ./serialize.hh: In instantiation of 'ConstIterator unserialize4(NumType&, ConstIterator) [with NumType = unsigned int; ConstIterator = SerialIstreamIterator]': mkimage.cc:145:19: required from here ./serialize.hh:164:28: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 164 | x = static_cast(*i); ++i; | ^~ ./serialize.hh:165:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 165 | x |= static_cast(*i) << 8; ++i; | ^~ ./serialize.hh:166:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 166 | x |= static_cast(*i) << 16; ++i; | ^~ ./serialize.hh:167:29: error: no match for 'operator*' (operand type is 'SerialIstreamIterator') 167 | x |= static_cast(*i) << 24; ++i; | ^~ mkimage.cc: At global scope: mkimage.cc:346:7: warning: 'int {anonymous}::fileToImage(bostream*, FilePart&, const JigdoDesc::MatchedFile&, bool, size_t, {anonymous}::ProgressReporter&, int*, size_t, uint64&, uint64&, uint64)' defined but not used [-Wunused-function] 346 | int fileToImage(bostream* img, FilePart& file, | ^~~~~~~~~~~ make[1]: *** [Makefile:95: mkimage.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c mktemplate.cc -o mktemplate.o In file included from mktemplate.cc:41: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:41: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope 336 | code = table[code - 32]; | ^~~~~ ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mktemplate.cc:42: ./util/bstream.hh: At global scope: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mktemplate.cc:42: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mktemplate.cc:42: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:26, from mktemplate.cc:42: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mkimage.hh:28, from mktemplate.cc:42: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh: At global scope: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./scan.hh:31, from ./mkimage.hh:29, from mktemplate.cc:42: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from ./mkimage.hh:29, from mktemplate.cc:42: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:29, from mktemplate.cc:42: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mkimage.hh:29, from mktemplate.cc:42: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./mkimage.hh:29, from mktemplate.cc:42: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from mktemplate.cc:42: ./mkimage.hh: At global scope: ./mkimage.hh:75:43: error: ISO C++17 does not allow dynamic exception specifications 75 | static void seekFromEnd(bistream& file) throw(JigdoDescError); | ^~~~~ ./mkimage.hh:233:33: error: ISO C++17 does not allow dynamic exception specifications 233 | bistream& get(bistream& file) throw(JigdoDescError, bad_alloc); | ^~~~~ ./mkimage.hh:295:5: error: ISO C++17 does not allow dynamic exception specifications 295 | throw(JigdoDescError, bad_alloc) { | ^~~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:110:16: error: reference to 'byte' is ambiguous 110 | static const byte IMAGE_INFO = 1, UNMATCHED_DATA = 2, MATCHED_FILE = 3; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:141:25: error: reference to 'byte' is ambiguous 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:141:25: error: 'byte' has not been declared 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ ./mktemplate.hh:150:29: error: reference to 'byte' is ambiguous 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:150:29: error: 'byte' has not been declared 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ ./mktemplate.hh:156:30: error: reference to 'byte' is ambiguous 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:156:30: error: 'byte' has not been declared 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ ./mktemplate.hh:160:23: error: reference to 'byte' is ambiguous 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:43: ./mktemplate.hh:160:23: error: 'byte' has not been declared 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:81:33: error: reference to 'byte' is ambiguous 81 | inline Zobstream& write(const byte* x, unsigned n); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:99:11: error: reference to 'byte' is ambiguous 99 | virtual byte* nextOut() const = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:100:11: error: reference to 'byte' is ambiguous 100 | virtual byte* nextIn() const = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:105:27: error: reference to 'byte' is ambiguous 105 | virtual void setNextOut(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:105:27: error: 'byte' has not been declared 105 | virtual void setNextOut(byte* n) = 0; | ^~~~ ./zstream.hh:106:26: error: reference to 'byte' is ambiguous 106 | virtual void setNextIn(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:106:26: error: 'byte' has not been declared 106 | virtual void setNextIn(byte* n) = 0; | ^~~~ ./zstream.hh:108:21: error: reference to 'byte' is ambiguous 108 | virtual void zip2(byte* start, unsigned len, bool finish) = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:108:21: error: 'byte' has not been declared 108 | virtual void zip2(byte* start, unsigned len, bool finish) = 0; | ^~~~ ./zstream.hh:117:5: error: reference to 'byte' is ambiguous 117 | byte data[ZIPDATA_SIZE]; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:129:19: error: reference to 'byte' is ambiguous 129 | inline void zip(byte* start, unsigned len, bool finish = false); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:129:19: error: 'byte' has not been declared 129 | inline void zip(byte* start, unsigned len, bool finish = false); | ^~~~ ./zstream.hh:132:3: error: reference to 'byte' is ambiguous 132 | byte* todoBuf; // Allocated during open(), deallocated during close() | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:39: ./zstream.hh: In destructor 'virtual Zobstream::~Zobstream()': ./zstream.hh:60:57: error: 'todoBuf' was not declared in this scope 60 | virtual ~Zobstream() { close(); delete zipBuf; Assert(todoBuf == 0); } | ^~~~~~~ ./util/debug.hh:91:14: note: in definition of macro 'Assert' 91 | ((void) ((_expr) ? 0 : \ | ^~~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: At global scope: ./zstream.hh:159:13: error: reference to 'byte' is ambiguous 159 | virtual byte* nextOut() const = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:160:13: error: reference to 'byte' is ambiguous 160 | virtual byte* nextIn() const = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:164:28: error: reference to 'byte' is ambiguous 164 | virtual void setNextIn(byte* n) = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:164:28: error: 'byte' has not been declared 164 | virtual void setNextIn(byte* n) = 0; | ^~~~ ./zstream.hh:175:26: error: reference to 'byte' is ambiguous 175 | virtual void inflate(byte** nextOut, unsigned* availOut) = 0; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:175:26: error: 'byte' has not been declared 175 | virtual void inflate(byte** nextOut, unsigned* availOut) = 0; | ^~~~ ./zstream.hh:208:19: error: reference to 'byte' is ambiguous 208 | Zibstream& read(byte* x, unsigned n); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:208:19: error: 'byte' has not been declared 208 | Zibstream& read(byte* x, unsigned n); | ^~~~ ./zstream.hh:237:3: error: reference to 'byte' is ambiguous 237 | byte* buf; // Contains compressed data | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:240:3: error: reference to 'byte' is ambiguous 240 | byte* nextOut; // Pointer into output buffer | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: In destructor 'virtual Zibstream::~Zibstream()': ./zstream.hh:190:42: error: 'buf' was not declared in this scope 190 | virtual ~Zibstream() { close(); delete buf; if (z != 0) z->end(); delete z; } | ^~~ ./zstream.hh: In member function 'bool Zibstream::good() const': ./zstream.hh:215:43: error: 'buf' was not declared in this scope 215 | bool good() const { return is_open() && buf != 0; } | ^~~ ./zstream.hh: In constructor 'Zobstream::Zobstream(MD5Sum*)': ./zstream.hh:249:33: error: class 'Zobstream' does not have any field named 'todoBuf' 249 | : zipBuf(0), zipBufLast(0), todoBuf(0), todoBufSize(0), todoCount(0), | ^~~~~~~ ./zstream.hh: In member function 'void Zobstream::open(bostream&, unsigned int, unsigned int)': ./zstream.hh:259:3: error: 'todoBuf' was not declared in this scope; did you mean 'todoBufSz'? 259 | todoBuf = new byte[todoBufSize]; | ^~~~~~~ | todoBufSz ./zstream.hh:259:17: error: reference to 'byte' is ambiguous 259 | todoBuf = new byte[todoBufSize]; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: At global scope: ./zstream.hh:265:6: error: variable or field 'zip' declared void 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~~~~~ ./zstream.hh:265:21: error: reference to 'byte' is ambiguous 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:265:27: error: 'start' was not declared in this scope; did you mean 'stat'? 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~ | stat ./zstream.hh:265:34: error: expected primary-expression before 'unsigned' 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~~~~~ ./zstream.hh:265:48: error: expected primary-expression before 'bool' 265 | void Zobstream::zip(byte* start, unsigned len, bool finish) { | ^~~~ ./zstream.hh: In member function 'Zobstream& Zobstream::put(unsigned char)': ./zstream.hh:273:37: error: 'todoBuf' was not declared in this scope 273 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:274:3: error: 'todoBuf' was not declared in this scope 274 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:274:36: error: reference to 'byte' is ambiguous 274 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: In member function 'Zobstream& Zobstream::put(signed char)': ./zstream.hh:280:37: error: 'todoBuf' was not declared in this scope 280 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:281:3: error: 'todoBuf' was not declared in this scope 281 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:281:36: error: reference to 'byte' is ambiguous 281 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: In member function 'Zobstream& Zobstream::put(char)': ./zstream.hh:287:37: error: 'todoBuf' was not declared in this scope 287 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:288:3: error: 'todoBuf' was not declared in this scope 288 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:288:36: error: reference to 'byte' is ambiguous 288 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: In member function 'Zobstream& Zobstream::put(int)': ./zstream.hh:294:37: error: 'todoBuf' was not declared in this scope 294 | if (todoCount >= todoBufSize) zip(todoBuf, todoCount); | ^~~~~~~ ./zstream.hh:295:3: error: 'todoBuf' was not declared in this scope 295 | todoBuf[todoCount] = static_cast(x); | ^~~~~~~ ./zstream.hh:295:36: error: reference to 'byte' is ambiguous 295 | todoBuf[todoCount] = static_cast(x); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: At global scope: ./zstream.hh:300:35: error: reference to 'byte' is ambiguous 300 | Zobstream& Zobstream::write(const byte* x, unsigned n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh: In member function 'Zobstream& Zobstream::write(const int*, unsigned int)': ./zstream.hh:303:9: error: 'todoBuf' was not declared in this scope 303 | zip(todoBuf, todoCount); // Zip remaining data in todoBuf | ^~~~~~~ ./zstream.hh:304:20: error: reference to 'byte' is ambiguous 304 | zip(const_cast(x), n); // Zip byte array | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./zstream-gz.hh:24, from mktemplate.cc:46: ./zstream.hh:304:24: error: expected '>' before '*' token 304 | zip(const_cast(x), n); // Zip byte array | ^ ./zstream.hh:304:24: error: expected '(' before '*' token 304 | zip(const_cast(x), n); // Zip byte array | ^ | ( ./zstream.hh:304:25: error: expected primary-expression before '>' token 304 | zip(const_cast(x), n); // Zip byte array | ^ ./zstream.hh: In constructor 'Zibstream::Zibstream(unsigned int)': ./zstream.hh:311:40: error: class 'Zibstream' does not have any field named 'buf' 311 | : z(0), stream(0), bufSize(bufSz), buf(0) { | ^~~ ./zstream.hh: In constructor 'Zibstream::Zibstream(bistream&, unsigned int)': ./zstream.hh:315:40: error: class 'Zibstream' does not have any field named 'buf' 315 | : z(0), stream(0), bufSize(bufSz), buf(0) { | ^~~ In file included from mktemplate.cc:46: ./zstream-gz.hh: At global scope: ./zstream-gz.hh:59:11: error: reference to 'byte' is ambiguous 59 | virtual byte* nextOut() const { return z.next_out; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:60:11: error: reference to 'byte' is ambiguous 60 | virtual byte* nextIn() const { return z.next_in; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:65:27: error: reference to 'byte' is ambiguous 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:65:27: error: 'byte' has not been declared 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^~~~ ./zstream-gz.hh:66:26: error: reference to 'byte' is ambiguous 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:66:26: error: 'byte' has not been declared 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ ./zstream-gz.hh:67:21: error: reference to 'byte' is ambiguous 67 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:67:21: error: 'byte' has not been declared 67 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ ./zstream-gz.hh: In member function 'virtual void ZobstreamGz::setNextOut(int*)': ./zstream-gz.hh:65:51: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 65 | virtual void setNextOut(byte* n) { z.next_out = n; } | ^ | | | int* ./zstream-gz.hh: In member function 'virtual void ZobstreamGz::setNextIn(int*)': ./zstream-gz.hh:66:49: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 66 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^ | | | int* ./zstream-gz.hh: At global scope: ./zstream-gz.hh:94:11: error: reference to 'byte' is ambiguous 94 | virtual byte* nextOut() const { return z.next_out; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:95:11: error: reference to 'byte' is ambiguous 95 | virtual byte* nextIn() const { return z.next_in; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:99:26: error: reference to 'byte' is ambiguous 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:99:26: error: 'byte' has not been declared 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^~~~ ./zstream-gz.hh:112:24: error: reference to 'byte' is ambiguous 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:46: ./zstream-gz.hh:112:24: error: 'byte' has not been declared 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ ./zstream-gz.hh: In member function 'virtual void ZibstreamGz::setNextIn(int*)': ./zstream-gz.hh:99:49: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 99 | virtual void setNextIn(byte* n) { z.next_in = n; } | ^ | | | int* ./zstream-gz.hh: In member function 'virtual void ZibstreamGz::inflate(int**, unsigned int*)': ./zstream-gz.hh:113:18: error: cannot convert 'int*' to 'Bytef*' {aka 'unsigned char*'} in assignment 113 | z.next_out = *nextOut; z.avail_out = *availOut; | ^~~~~~~~ | | | int* ./zstream-gz.hh:115:18: error: cannot convert 'Bytef*' {aka 'unsigned char*'} to 'int*' in assignment 115 | *nextOut = z.next_out; *availOut = z.avail_out; | ~~^~~~~~~~ | | | Bytef* {aka unsigned char*} In file included from mktemplate.cc:47: ./zstream-bz.hh: At global scope: ./zstream-bz.hh:53:11: error: reference to 'byte' is ambiguous 53 | virtual byte* nextOut() const { return reinterpret_cast(z.next_out); } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:54:11: error: reference to 'byte' is ambiguous 54 | virtual byte* nextIn() const { return reinterpret_cast(z.next_in); } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:61:27: error: reference to 'byte' is ambiguous 61 | virtual void setNextOut(byte* n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:61:27: error: 'byte' has not been declared 61 | virtual void setNextOut(byte* n) { | ^~~~ ./zstream-bz.hh:63:26: error: reference to 'byte' is ambiguous 63 | virtual void setNextIn(byte* n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:63:26: error: 'byte' has not been declared 63 | virtual void setNextIn(byte* n) { | ^~~~ ./zstream-bz.hh:65:21: error: reference to 'byte' is ambiguous 65 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:65:21: error: 'byte' has not been declared 65 | virtual void zip2(byte* start, unsigned len, bool finish = false); | ^~~~ ./zstream-bz.hh:89:11: error: reference to 'byte' is ambiguous 89 | virtual byte* nextOut() const { return reinterpret_cast(z.next_out); } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:90:11: error: reference to 'byte' is ambiguous 90 | virtual byte* nextIn() const { return reinterpret_cast(z.next_in); } | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:96:26: error: reference to 'byte' is ambiguous 96 | virtual void setNextIn(byte* n) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:96:26: error: 'byte' has not been declared 96 | virtual void setNextIn(byte* n) { | ^~~~ ./zstream-bz.hh:112:24: error: reference to 'byte' is ambiguous 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:112:24: error: 'byte' has not been declared 112 | virtual void inflate(byte** nextOut, unsigned* availOut) { | ^~~~ ./zstream-bz.hh: In member function 'virtual void ZibstreamBz::inflate(int**, unsigned int*)': ./zstream-bz.hh:115:33: error: reference to 'byte' is ambiguous 115 | *nextOut = reinterpret_cast(z.next_out); *availOut = z.avail_out; | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mktemplate.cc:47: ./zstream-bz.hh:115:37: error: expected '>' before '*' token 115 | *nextOut = reinterpret_cast(z.next_out); *availOut = z.avail_out; | ^ ./zstream-bz.hh:115:37: error: expected '(' before '*' token ./zstream-bz.hh:115:38: error: expected primary-expression before '>' token 115 | *nextOut = reinterpret_cast(z.next_out); *availOut = z.avail_out; | ^ ./zstream-bz.hh:115:51: error: expected ')' before ';' token 115 | *nextOut = reinterpret_cast(z.next_out); *availOut = z.avail_out; | ^ mktemplate.cc: At global scope: mktemplate.cc:128:30: error: reference to 'byte' is ambiguous 128 | inline void writeBuf(const byte* const buf, size_t begin, size_t end, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc: In function 'void {anonymous}::write48(bostream&, uint64)': mktemplate.cc:150:23: error: reference to 'byte' is ambiguous 150 | s.put(static_cast( x & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:151:23: error: reference to 'byte' is ambiguous 151 | s.put(static_cast((x >> 8) & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:152:23: error: reference to 'byte' is ambiguous 152 | s.put(static_cast((x >> 16) & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:153:23: error: reference to 'byte' is ambiguous 153 | s.put(static_cast((x >> 24) & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:154:23: error: reference to 'byte' is ambiguous 154 | s.put(static_cast((x >> 32) & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:155:23: error: reference to 'byte' is ambiguous 155 | s.put(static_cast((x >> 40) & 0xff)); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc: In member function 'void MkTemplate::checkRsyncSumMatch2(size_t, size_t, size_t, uint64&, FilePart*)': mktemplate.cc:268:52: warning: conversion from 'uint64' {aka 'long long unsigned int'} to 'size_t' {aka 'unsigned int'} may change value [-Wconversion] 268 | size_t eventLen = (file->size() < md5BlockLength ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 269 | file->size() : md5BlockLength); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mktemplate.cc: In member function 'bool MkTemplate::rereadUnmatched(FilePart*, uint64)': mktemplate.cc:307:20: error: template argument 1 is invalid 307 | ArrayAutoPtr tmpBuf(new byte[readAmount]); | ^ mktemplate.cc:307:33: error: reference to 'byte' is ambiguous 307 | ArrayAutoPtr tmpBuf(new byte[readAmount]); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:310:3: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 310 | auto_ptr inputFile(new bifstream(inputName.c_str(),ios::binary)); | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from mktemplate.cc:35: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ mktemplate.cc:313:34: error: request for member 'get' in 'tmpBuf', which is of non-class type 'int' 313 | readBytes(*inputFile, tmpBuf.get(), | ^~~ mktemplate.cc:316:23: error: request for member 'get' in 'tmpBuf', which is of non-class type 'int' 316 | zip->write(tmpBuf.get(), n); // will catch Zerror "upstream" | ^~~ mktemplate.cc: In member function 'bool MkTemplate::matchExecCommands(MkTemplate::PartialMatch*)': mktemplate.cc:415:45: error: 'const class MD5Sum' has no member named 'digest' 415 | md5Sum.write(x->file()->getMD5Sum(cache)->digest(), 16).flush(); | ^~~~~~ mktemplate.cc: At global scope: mktemplate.cc:447:6: error: 'bool MkTemplate::checkMD5Match' is not a static data member of 'class MkTemplate' 447 | bool MkTemplate::checkMD5Match(byte* const buf, | ^~~~~~~~~~ mktemplate.cc:447:32: error: reference to 'byte' is ambiguous 447 | bool MkTemplate::checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:447:38: error: expected primary-expression before 'const' 447 | bool MkTemplate::checkMD5Match(byte* const buf, | ^~~~~ mktemplate.cc:448:5: error: expected primary-expression before 'const' 448 | const size_t bufferLength, const size_t data, | ^~~~~ mktemplate.cc:448:32: error: expected primary-expression before 'const' 448 | const size_t bufferLength, const size_t data, | ^~~~~ mktemplate.cc:449:5: error: expected primary-expression before 'const' 449 | const size_t md5BlockLength, uint64& nextEvent, | ^~~~~ mktemplate.cc:449:40: error: expected primary-expression before '&' token 449 | const size_t md5BlockLength, uint64& nextEvent, | ^ mktemplate.cc:449:42: error: 'nextEvent' was not declared in this scope 449 | const size_t md5BlockLength, uint64& nextEvent, | ^~~~~~~~~ mktemplate.cc:450:5: error: expected primary-expression before 'const' 450 | const size_t stillBuffered, Desc& desc) { | ^~~~~ mktemplate.cc:450:37: error: expected primary-expression before '&' token 450 | const size_t stillBuffered, Desc& desc) { | ^ mktemplate.cc:450:39: error: 'desc' was not declared in this scope; did you mean 'Desc'? 450 | const size_t stillBuffered, Desc& desc) { | ^~~~ | Desc mktemplate.cc:450:43: error: expression list treated as compound expression in initializer [-fpermissive] 450 | const size_t stillBuffered, Desc& desc) { | ^ mktemplate.cc:569:6: error: 'bool MkTemplate::unmatchedAtEnd' is not a static data member of 'class MkTemplate' 569 | bool MkTemplate::unmatchedAtEnd(byte* const buf, | ^~~~~~~~~~ mktemplate.cc:569:33: error: reference to 'byte' is ambiguous 569 | bool MkTemplate::unmatchedAtEnd(byte* const buf, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:569:39: error: expected primary-expression before 'const' 569 | bool MkTemplate::unmatchedAtEnd(byte* const buf, | ^~~~~ mktemplate.cc:570:5: error: expected primary-expression before 'const' 570 | const size_t bufferLength, const size_t data, Desc& desc) { | ^~~~~ mktemplate.cc:570:32: error: expected primary-expression before 'const' 570 | const size_t bufferLength, const size_t data, Desc& desc) { | ^~~~~ mktemplate.cc:570:55: error: expected primary-expression before '&' token 570 | const size_t bufferLength, const size_t data, Desc& desc) { | ^ mktemplate.cc:570:57: error: 'desc' was not declared in this scope; did you mean 'Desc'? 570 | const size_t bufferLength, const size_t data, Desc& desc) { | ^~~~ | Desc mktemplate.cc:570:61: error: expression list treated as compound expression in initializer [-fpermissive] 570 | const size_t bufferLength, const size_t data, Desc& desc) { | ^ mktemplate.cc:609:23: error: reference to 'byte' is ambiguous 609 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:609:23: error: 'byte' has not been declared 609 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ mktemplate.cc: In member function 'void MkTemplate::scanImage_mainLoop_fastForward(uint64, RsyncSum64*, int*, size_t*, size_t*, size_t*, size_t, size_t, uint32, size_t)': mktemplate.cc:655:35: warning: conversion from 'uint64' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 655 | unsigned len = nextAlignedOff - off; | ~~~~~~~~~~~~~~~^~~~~ mktemplate.cc:656:48: warning: conversion from 'uint64' {aka 'long long unsigned int'} to 'unsigned int' may change value [-Wconversion] 656 | if (len > nextEvent - off) len = nextEvent - off; | ~~~~~~~~~~^~~~~ mktemplate.cc: At global scope: mktemplate.cc:718:13: error: 'bool MkTemplate::scanImage' is not a static data member of 'class MkTemplate' 718 | inline bool MkTemplate::scanImage(byte* buf, size_t bufferLength, | ^~~~~~~~~~ mktemplate.cc:718:35: error: reference to 'byte' is ambiguous 718 | inline bool MkTemplate::scanImage(byte* buf, size_t bufferLength, | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:718:41: error: 'buf' was not declared in this scope 718 | inline bool MkTemplate::scanImage(byte* buf, size_t bufferLength, | ^~~ mktemplate.cc:718:53: error: expected primary-expression before 'bufferLength' 718 | inline bool MkTemplate::scanImage(byte* buf, size_t bufferLength, | ^~~~~~~~~~~~ mktemplate.cc:719:12: error: expected primary-expression before 'blockLength' 719 | size_t blockLength, uint32 blockMask, size_t md5BlockLength, | ^~~~~~~~~~~ mktemplate.cc:719:32: error: expected primary-expression before 'blockMask' 719 | size_t blockLength, uint32 blockMask, size_t md5BlockLength, | ^~~~~~~~~ mktemplate.cc:719:50: error: expected primary-expression before 'md5BlockLength' 719 | size_t blockLength, uint32 blockMask, size_t md5BlockLength, | ^~~~~~~~~~~~~~ mktemplate.cc:720:11: error: expected primary-expression before '&' token 720 | MD5Sum& templMd5Sum) { | ^ mktemplate.cc:720:13: error: 'templMd5Sum' was not declared in this scope 720 | MD5Sum& templMd5Sum) { | ^~~~~~~~~~~ mktemplate.cc:720:24: error: expression list treated as compound expression in initializer [-fpermissive] 720 | MD5Sum& templMd5Sum) { | ^ mktemplate.cc: In member function 'bool MkTemplate::run(const string&, const string&)': mktemplate.cc:994:20: error: template argument 1 is invalid 994 | ArrayAutoPtr bufDel(new byte[bufferLength]); | ^ mktemplate.cc:994:33: error: reference to 'byte' is ambiguous 994 | ArrayAutoPtr bufDel(new byte[bufferLength]); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:995:3: error: reference to 'byte' is ambiguous 995 | byte* buf = bufDel.get(); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:995:9: error: 'buf' was not declared in this scope 995 | byte* buf = bufDel.get(); | ^~~ mktemplate.cc:995:22: error: request for member 'get' in 'bufDel', which is of non-class type 'int' 995 | byte* buf = bufDel.get(); | ^~~ mktemplate.cc:1003:11: error: reference to 'byte' is ambiguous 1003 | const byte* t = reinterpret_cast(s.data()); | ^~~~ In file included from ./config.h:217, from mktemplate.cc:23: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mktemplate.cc:23: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ mktemplate.cc:1004:24: error: 't' was not declared in this scope; did you mean 'tm'? 1004 | writeBytes(*templ, t, s.size()); | ^ | tm mktemplate.cc: At global scope: mktemplate.cc:141:8: warning: 'void {anonymous}::write48(bostream&, uint64)' defined but not used [-Wunused-function] 141 | void write48(bostream& s, uint64 x) { | ^~~~~~~ make[1]: *** [Makefile:95: mktemplate.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c mkjigdo.cc -o mkjigdo.o In file included from ./util/md5sum.hh:37, from mkjigdo.cc:23: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from mkjigdo.cc:23: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from mkjigdo.cc:23: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:37, from mkjigdo.cc:23: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:23: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope; did you mean 'mutable'? 336 | code = table[code - 32]; | ^~~~~ | mutable ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from mkjigdo.cc:23: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from mkjigdo.cc:25: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from mkjigdo.cc:25: ./mktemplate.hh:110:16: error: reference to 'byte' is ambiguous 110 | static const byte IMAGE_INFO = 1, UNMATCHED_DATA = 2, MATCHED_FILE = 3; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:25: ./mktemplate.hh:141:25: error: reference to 'byte' is ambiguous 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:25: ./mktemplate.hh:141:25: error: 'byte' has not been declared 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ ./mktemplate.hh:150:29: error: reference to 'byte' is ambiguous 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:25: ./mktemplate.hh:150:29: error: 'byte' has not been declared 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ ./mktemplate.hh:156:30: error: reference to 'byte' is ambiguous 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:25: ./mktemplate.hh:156:30: error: 'byte' has not been declared 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ ./mktemplate.hh:160:23: error: reference to 'byte' is ambiguous 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from mkjigdo.cc:25: ./mktemplate.hh:160:23: error: 'byte' has not been declared 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./scan.hh: At global scope: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from mkjigdo.cc:17: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from mkjigdo.cc:17: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from mkjigdo.cc:25: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ mkjigdo.cc: In member function 'void MkTemplate::finalizeJigdo(const string&, const string&, const MD5Sum&)': mkjigdo.cc:140:30: error: 'const class MD5Sum' has no member named 'digest' 140 | md5Sum.write(templMd5Sum.digest(), 16).flush(); | ^~~~~~ mkjigdo.cc:215:39: error: 'const class MD5Sum' has no member named 'digest' 215 | m.write((*i)->getMD5Sum(cache)->digest(), 16).flush(); | ^~~~~~ make[1]: *** [Makefile:95: mkjigdo.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c partialmatch.cc -o partialmatch.o In file included from ./mktemplate.hh:35, from partialmatch.cc:15: ./util/bstream.hh:182:41: error: reference to 'byte' is ambiguous 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:35, from partialmatch.cc:15: ./util/bstream.hh:182:41: error: 'byte' has not been declared 182 | inline bistream& readBytes(bistream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:186:43: error: reference to 'byte' is ambiguous 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:35, from partialmatch.cc:15: ./util/bstream.hh:186:43: error: 'byte' has not been declared 186 | inline biostream& readBytes(biostream& s, byte* buf, streamsize count) { | ^~~~ ./util/bstream.hh:191:48: error: reference to 'byte' is ambiguous 191 | inline bostream& writeBytes(bostream& s, const byte* buf, streamsize count) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:35, from partialmatch.cc:15: ./util/bstream.hh:195:50: error: reference to 'byte' is ambiguous 195 | inline biostream& writeBytes(biostream& s, const byte* buf, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:54:3: error: reference to 'byte' is ambiguous 54 | byte sum[16]; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:57:12: error: reference to 'byte' is ambiguous 57 | operator byte*() { return sum; } | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:58:18: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 58 | operator const byte*() const { return sum; } | ^~~~ ./util/md5sum.hh:58:3: error: 'operator const int' does not name a type 58 | operator const byte*() const { return sum; } | ^~~~~~~~ ./util/md5sum.hh:76:16: error: reference to 'byte' is ambiguous 76 | static const byte zero[16]; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:116:31: error: reference to 'byte' is ambiguous 116 | inline MD5Sum& update(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:118:25: error: reference to 'byte' is ambiguous 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:118:25: error: 'byte' has not been declared 118 | inline MD5Sum& update(byte x) { update(&x, 1); return *this; } | ^~~~ ./util/md5sum.hh:133:16: error: reference to 'byte' is ambiguous 133 | inline const byte* digest() const; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:170:10: error: reference to 'byte' is ambiguous 170 | static byte* md5_finish_ctx(struct md5_ctx* ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:171:10: error: reference to 'byte' is ambiguous 171 | static byte* md5_read_ctx(const md5_ctx *ctx, byte* resbuf); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:236:30: error: reference to 'byte' is ambiguous 236 | MD5Sum& MD5Sum::update(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finish()': ./util/md5sum.hh:247:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 247 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: In member function 'MD5Sum& MD5Sum::finishForReuse()': ./util/md5sum.hh:258:3: error: 'md5_finish_ctx' was not declared in this scope; did you mean 'md5_init_ctx'? 258 | md5_finish_ctx(p, sum); | ^~~~~~~~~~~~~~ | md5_init_ctx ./util/md5sum.hh: At global scope: ./util/md5sum.hh:274:7: error: reference to 'byte' is ambiguous 274 | const byte* MD5Sum::digest() const { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh: In member function 'bool MD5::operator<(const MD5&) const': ./util/md5sum.hh:306:7: error: 'sum' was not declared in this scope 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:306:18: error: 'const class MD5' has no member named 'sum' 306 | if (sum[0] < x.sum[0]) return true; | ^~~ ./util/md5sum.hh:307:7: error: 'sum' was not declared in this scope 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh:307:18: error: 'const class MD5' has no member named 'sum' 307 | if (sum[0] > x.sum[0]) return false; | ^~~ ./util/md5sum.hh: In function 'bool operator==(const MD5&, const MD5&)': ./util/md5sum.hh:319:19: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:26: error: 'const class MD5' has no member named 'sum' 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~ ./util/md5sum.hh:319:43: error: reference to 'byte' is ambiguous 319 | return memcmp(a.sum, b.sum, 16 * sizeof(byte)) == 0; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh: In member function 'MD5& MD5::clear()': ./util/md5sum.hh:333:3: error: reference to 'byte' is ambiguous 333 | byte* x = sum; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.hh:333:9: error: 'x' was not declared in this scope 333 | byte* x = sum; | ^ ./util/md5sum.hh:333:13: error: 'sum' was not declared in this scope 333 | byte* x = sum; | ^~~ ./util/md5sum.hh: In member function 'Iterator MD5::serialize(Iterator) const': ./util/md5sum.hh:343:39: error: 'sum' was not declared in this scope 343 | for (int j = 0; j < 16; ++j) { *i = sum[j]; ++i; } | ^~~ ./util/md5sum.hh: In member function 'ConstIterator MD5::unserialize(ConstIterator)': ./util/md5sum.hh:348:34: error: 'sum' was not declared in this scope 348 | for (int j = 0; j < 16; ++j) { sum[j] = *i; ++i; } | ^~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::operator<<(const unsigned char*)': ./util/mimestream.hh:230:28: error: reference to 'byte' is ambiguous 230 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh: In member function 'Base64Out& Base64Out::write(const unsigned char*, unsigned int)': ./util/mimestream.hh:239:28: error: reference to 'byte' is ambiguous 239 | (*this) << static_cast(*x++); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh: At global scope: ./util/mimestream.hh:271:16: error: reference to 'byte' is ambiguous 271 | static const byte table[]; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh:282:12: error: reference to 'byte' is ambiguous 282 | void put(byte b) { val.push_back(b); } | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh:282:12: error: 'byte' has not been declared 282 | void put(byte b) { val.push_back(b); } | ^~~~ ./util/mimestream.hh:283:22: error: template argument 1 is invalid 283 | typedef vector& ResultType; | ^ ./util/mimestream.hh:283:22: error: template argument 2 is invalid ./util/mimestream.hh:284:14: error: template argument 1 is invalid 284 | vector& result() { return val; } | ^ ./util/mimestream.hh:284:14: error: template argument 2 is invalid ./util/mimestream.hh:286:14: error: template argument 1 is invalid 286 | vector val; | ^ ./util/mimestream.hh:286:14: error: template argument 2 is invalid ./util/mimestream.hh: In member function 'void Base64StringIn::put(int)': ./util/mimestream.hh:282:26: error: request for member 'push_back' in '((Base64StringIn*)this)->Base64StringIn::val', which is of non-class type 'int' 282 | void put(byte b) { val.push_back(b); } | ^~~~~~~~~ ./util/mimestream.hh: At global scope: ./util/mimestream.hh:297:7: error: reference to 'byte' is ambiguous 297 | const byte Base64In::table[] = { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh: In member function 'Base64In& Base64In::put(const char*, unsigned int)': ./util/mimestream.hh:334:33: error: reference to 'byte' is ambiguous 334 | unsigned code = static_cast(*x); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.ih:17, from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/mimestream.hh:336:12: error: 'table' was not declared in this scope; did you mean 'mutable'? 336 | code = table[code - 32]; | ^~~~~ | mutable ./util/mimestream.hh:342:27: error: reference to 'byte' is ambiguous 342 | out.put(static_cast((data >> bits) & 255U)); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5&)': ./util/md5sum.ih:22:13: error: 'const class MD5' has no member named 'sum' 22 | m.write(r.sum, 16).flush(); | ^~~ ./util/md5sum.ih: In member function 'std::string MD5Sum::toString() const': ./util/md5sum.ih:28:9: error: reference to 'byte' is ambiguous 28 | const byte* d = digest(); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.ih:29:7: error: 'd' was not declared in this scope 29 | if (d == 0) { | ^ ./util/md5sum.ih: In function 'std::ostream& operator<<(std::ostream&, const MD5Sum&)': ./util/md5sum.ih:39:9: error: reference to 'byte' is ambiguous 39 | const byte* d = r.digest(); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/md5sum.hh:353, from ./mktemplate.hh:41, from partialmatch.cc:15: ./util/md5sum.ih:40:7: error: 'd' was not declared in this scope 40 | if (d == 0) { | ^ ./util/md5sum.ih:38:47: warning: unused parameter 'r' [-Wunused-parameter] 38 | ostream& operator<<(ostream& s, const MD5Sum& r) { | ~~~~~~~~~~~~~~^ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh: At global scope: ./serialize.hh:82:11: error: reference to 'byte' is ambiguous 82 | typedef byte value_type; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh:83:17: error: reference to 'byte' is ambiguous 83 | typedef const byte* pointer; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh:84:17: error: reference to 'byte' is ambiguous 84 | typedef const byte& reference; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh:91:3: error: 'reference' does not name a type 91 | reference operator*() const { | ^~~~~~~~~ ./serialize.hh:93:3: error: 'pointer' does not name a type 93 | pointer operator->() const { | ^~~~~~~ ./serialize.hh:98:11: error: reference to 'byte' is ambiguous 98 | mutable byte val; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator()': ./serialize.hh:86:40: error: class 'SerialIstreamIterator' does not have any field named 'val' 86 | SerialIstreamIterator() : stream(0), val(0) { } | ^~~ ./serialize.hh: In constructor 'SerialIstreamIterator::SerialIstreamIterator(SerialIstreamIterator::istream_type&)': ./serialize.hh:87:56: error: class 'SerialIstreamIterator' does not have any field named 'val' 87 | SerialIstreamIterator(istream_type& s) : stream(&s), val(0) { } | ^~~ ./serialize.hh: At global scope: ./serialize.hh:112:42: error: reference to 'byte' is ambiguous 112 | SerialOstreamIterator& operator=(const byte val) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:31, from ./mktemplate.hh:42, from partialmatch.cc:15: ./serialize.hh: In member function 'SerialOstreamIterator& SerialOstreamIterator::operator=(int)': ./serialize.hh:113:17: warning: conversion from 'int' to 'std::basic_ostream::char_type' {aka 'char'} may change value [-Wconversion] 113 | stream->put(val); | ^~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh: At global scope: ./util/rsyncsum.hh:52:18: error: reference to 'byte' is ambiguous 52 | RsyncSum(const byte* mem, size_t len) : sum(0) { addBack(mem, len); }; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:61:27: error: reference to 'byte' is ambiguous 61 | RsyncSum& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:63:28: error: reference to 'byte' is ambiguous 63 | inline RsyncSum& addBack(byte x); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:63:28: error: 'byte' has not been declared 63 | inline RsyncSum& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:68:34: error: reference to 'byte' is ambiguous 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:68:34: error: 'byte' has not been declared 68 | inline RsyncSum& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:75:31: error: reference to 'byte' is ambiguous 75 | RsyncSum& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:77:32: error: reference to 'byte' is ambiguous 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:77:32: error: 'byte' has not been declared 77 | inline RsyncSum& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:101:27: error: reference to 'byte' is ambiguous 101 | inline RsyncSum64(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:108:36: error: reference to 'byte' is ambiguous 108 | INLINE RsyncSum64& addBack(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:109:30: error: reference to 'byte' is ambiguous 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:109:30: error: 'byte' has not been declared 109 | INLINE RsyncSum64& addBack(byte x); | ^~~~ ./util/rsyncsum.hh:110:36: error: reference to 'byte' is ambiguous 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:110:36: error: 'byte' has not been declared 110 | INLINE RsyncSum64& addBackNtimes(byte x, size_t n); | ^~~~ ./util/rsyncsum.hh:111:33: error: reference to 'byte' is ambiguous 111 | RsyncSum64& removeFront(const byte* mem, size_t len, size_t areaSize); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:112:34: error: reference to 'byte' is ambiguous 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:112:34: error: 'byte' has not been declared 112 | inline RsyncSum64& removeFront(byte x, size_t areaSize); | ^~~~ ./util/rsyncsum.hh:127:30: error: reference to 'byte' is ambiguous 127 | RsyncSum64& addBack2(const byte* mem, size_t len); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:136:11: error: 'RsyncSum& RsyncSum::addBack' is not a static data member of 'class RsyncSum' 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~~~~~ ./util/rsyncsum.hh:136:29: error: reference to 'byte' is ambiguous 136 | RsyncSum& RsyncSum::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:145:11: error: 'RsyncSum& RsyncSum::addBackNtimes' is not a static data member of 'class RsyncSum' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~~~~~ ./util/rsyncsum.hh:145:35: error: reference to 'byte' is ambiguous 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:145:50: error: expected primary-expression before 'n' 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:145:51: error: expression list treated as compound expression in initializer [-fpermissive] 145 | RsyncSum& RsyncSum::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.hh:154:11: error: 'RsyncSum& RsyncSum::removeFront' is not a static data member of 'class RsyncSum' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:33: error: reference to 'byte' is ambiguous 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:154:48: error: expected primary-expression before 'areaSize' 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:154:56: error: expression list treated as compound expression in initializer [-fpermissive] 154 | RsyncSum& RsyncSum::removeFront(byte x, size_t areaSize) { | ^ ./util/rsyncsum.hh:164:30: error: reference to 'byte' is ambiguous 164 | RsyncSum64::RsyncSum64(const byte* mem, size_t len) : sumLo(0), sumHi(0) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:188:13: error: 'RsyncSum64& RsyncSum64::removeFront' is not a static data member of 'class RsyncSum64' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~~~ ./util/rsyncsum.hh:188:37: error: reference to 'byte' is ambiguous 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.hh:188:52: error: expected primary-expression before 'areaSize' 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^~~~~~~~ ./util/rsyncsum.hh:188:60: error: expression list treated as compound expression in initializer [-fpermissive] 188 | RsyncSum64& RsyncSum64::removeFront(byte x, size_t areaSize) { | ^ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih:34:39: error: reference to 'byte' is ambiguous 34 | RsyncSum64& RsyncSum64::addBack(const byte* mem, size_t len) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih:39:13: error: 'RsyncSum64& RsyncSum64::addBack' is not a static data member of 'class RsyncSum64' 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~~~~~~~ ./util/rsyncsum.ih:39:33: error: reference to 'byte' is ambiguous 39 | RsyncSum64& RsyncSum64::addBack(byte x) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih:45:13: error: 'RsyncSum64& RsyncSum64::addBackNtimes' is not a static data member of 'class RsyncSum64' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~~~~~~~ ./util/rsyncsum.ih:45:39: error: reference to 'byte' is ambiguous 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./util/rsyncsum.hh:209, from ./mktemplate.hh:42, from partialmatch.cc:15: ./util/rsyncsum.ih:45:54: error: expected primary-expression before 'n' 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ ./util/rsyncsum.ih:45:55: error: expression list treated as compound expression in initializer [-fpermissive] 45 | RsyncSum64& RsyncSum64::addBackNtimes(byte x, size_t n) { | ^ In file included from partialmatch.cc:15: ./mktemplate.hh:110:16: error: reference to 'byte' is ambiguous 110 | static const byte IMAGE_INFO = 1, UNMATCHED_DATA = 2, MATCHED_FILE = 3; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from partialmatch.cc:15: ./mktemplate.hh:141:25: error: reference to 'byte' is ambiguous 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from partialmatch.cc:15: ./mktemplate.hh:141:25: error: 'byte' has not been declared 141 | INLINE bool scanImage(byte* buf, size_t bufferLength, size_t blockLength, | ^~~~ ./mktemplate.hh:150:29: error: reference to 'byte' is ambiguous 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from partialmatch.cc:15: ./mktemplate.hh:150:29: error: 'byte' has not been declared 150 | INLINE bool checkMD5Match(byte* const buf, | ^~~~ ./mktemplate.hh:156:30: error: reference to 'byte' is ambiguous 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from partialmatch.cc:15: ./mktemplate.hh:156:30: error: 'byte' has not been declared 156 | INLINE bool unmatchedAtEnd(byte* const buf, const size_t bufferLength, | ^~~~ ./mktemplate.hh:160:23: error: reference to 'byte' is ambiguous 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from partialmatch.cc:15: ./mktemplate.hh:160:23: error: 'byte' has not been declared 160 | RsyncSum64* rsum, byte* buf, size_t* data, size_t* n, size_t* rsumBack, | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:85:21: error: reference to 'byte' is ambiguous 85 | Status find(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:95:25: error: reference to 'byte' is ambiguous 95 | Status findName(const byte*& resultData, size_t& resultSize, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:102:28: error: reference to 'byte' is ambiguous 102 | inline void insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:119:3: error: reference to 'byte' is ambiguous 119 | byte* insert_prepare(size_t inSize); | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:141:30: error: reference to 'byte' is ambiguous 141 | void CacheFile::insert(const byte* inData, size_t inSize, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh: In member function 'void CacheFile::insert(const int*, size_t, const string&, time_t, uint64)': ./cachefile.hh:143:10: error: 'insert_prepare' was not declared in this scope; did you mean 'insert_perform'? 143 | memcpy(insert_prepare(inSize), inData, inSize); | ^~~~~~~~~~~~~~ | insert_perform ./cachefile.hh: In member function 'void CacheFile::insert(Functor, size_t, const string&, time_t, uint64)': ./cachefile.hh:150:5: error: there are no arguments to 'insert_prepare' that depend on a template parameter, so a declaration of 'insert_prepare' must be available [-fpermissive] 150 | f(insert_prepare(inSize)); | ^~~~~~~~~~~~~~ ./cachefile.hh:150:5: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./scan.hh: At global scope: ./scan.hh:168:38: error: reference to 'byte' is ambiguous 168 | size_t unserializeCacheEntry(const byte* data, size_t dataSize, | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./scan.hh:312:14: error: template argument 1 is invalid 312 | vector buffer; | ^ ./scan.hh:312:14: error: template argument 2 is invalid ./scan.hh: In member function 'void JigdoCache::deallocBuffer()': ./scan.hh:229:33: error: request for member 'resize' in '((JigdoCache*)this)->JigdoCache::buffer', which is of non-class type 'int' 229 | void deallocBuffer() { buffer.resize(0); } | ^~~~~~ ./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&)': ./scan.hh:426:13: error: reference to 'byte' is ambiguous 426 | const byte* data; | ^~~~ In file included from ./config.h:217, from partialmatch.cc:14: /usr/include/c++/11/cstddef:69:14: note: candidates are: 'enum class std::byte' 69 | enum class byte : unsigned char {}; | ^~~~ In file included from partialmatch.cc:14: ./config.h:253:23: note: 'typedef unsigned char byte' 253 | typedef unsigned char byte; | ^~~~ In file included from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./scan.hh:429:32: error: cannot convert '' to 'const int*&' 429 | if (cacheFile->findName(data, dataSize, name, stSize, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 430 | fileInfo.st_mtime).failed()) | ~~~~~~~~~~~~~~~~~~ In file included from ./scan.hh:27, from ./partialmatch.ih:24, from ./partialmatch.hh:178, from ./mktemplate.hh:218, from partialmatch.cc:15: ./cachefile.hh:95:32: note: initializing argument 1 of 'Status CacheFile::findName(const int*&, size_t&, const string&, off_t&, time_t&)' 95 | Status findName(const byte*& resultData, size_t& resultSize, | ~~~~~~~~~~~~~^~~~~~~~~~ make[1]: *** [Makefile:95: partialmatch.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' i586-alt-linux-g++ $cxx -c recursedir.cc -o recursedir.o recursedir.cc:235:5: warning: #warning TODO hackish [-Wcpp] 235 | # warning TODO hackish | ^~~~~~~ In file included from recursedir.cc:32: ./recursedir.hh:79:7: error: ISO C++17 does not allow dynamic exception specifications 79 | throw(RecurseError, bad_alloc); | ^~~~~ ./recursedir.hh:105:5: error: ISO C++17 does not allow dynamic exception specifications 105 | throw(RecurseError); | ^~~~~ recursedir.cc:68:52: error: ISO C++17 does not allow dynamic exception specifications 68 | bool RecurseDir::getNextObjectName(string& result) throw(RecurseError) { | ^~~~~ recursedir.cc:140:5: error: ISO C++17 does not allow dynamic exception specifications 140 | throw(RecurseError, bad_alloc) { | ^~~~~ make[1]: *** [Makefile:95: recursedir.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/jigdo-0.7.3/src' make: *** [Makefile:35: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.21219 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.21219 (%build) Command exited with non-zero status 1 11.13user 2.17system 0:06.83elapsed 194%CPU (0avgtext+0avgdata 93428maxresident)k 0inputs+0outputs (0major+805929minor)pagefaults 0swaps hsh-rebuild: rebuild of `jigdo-0.7.3-alt6.src.rpm' failed. Command exited with non-zero status 1 25.36user 5.47system 0:29.00elapsed 106%CPU (0avgtext+0avgdata 101368maxresident)k 0inputs+0outputs (0major+1152113minor)pagefaults 0swaps